[#2533] Changements au modèle d'établissement
[auf_django_references.git] / auf / django / references / managedref / migrations / 0003_implantation_null.py
1 # encoding: utf-8
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6
7 class Migration(SchemaMigration):
8
9 def forwards(self, orm):
10 db.alter_column('ref_etablissement', 'implantation', models.ForeignKey(
11 orm['managedref.Implantation'], db_column='implantation',
12 related_name='+', blank=True, null=True
13 ))
14
15 def backwards(self, orm):
16 pass
17
18
19 models = {
20 'managedref.authentification': {
21 'Meta': {'ordering': "['id']", 'object_name': 'Authentification', 'db_table': "u'ref_authentification'"},
22 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
23 'courriel': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
24 'id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'primary_key': 'True', 'db_column': "'id'"}),
25 'motdepasse': ('django.db.models.fields.CharField', [], {'max_length': '255'})
26 },
27 'managedref.bureau': {
28 'Meta': {'ordering': "['nom']", 'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
29 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
30 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
31 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Implantation']", 'db_column': "'implantation'"}),
33 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
34 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
35 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
36 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Region']", 'db_column': "'region'"})
37 },
38 'managedref.discipline': {
39 'Meta': {'ordering': "['nom']", 'object_name': 'Discipline', 'db_table': "u'ref_discipline'"},
40 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
41 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
42 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
43 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
44 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
45 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
46 },
47 'managedref.employe': {
48 'Meta': {'ordering': "['nom']", 'object_name': 'Employe', 'db_table': "u'ref_employe'"},
49 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
50 'courriel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
51 'date_entree': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
52 'fonction': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
53 'genre': ('django.db.models.fields.CharField', [], {'max_length': '3'}),
54 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
55 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'lieu_travail_theorique_de'", 'db_column': "'implantation'", 'to': "orm['managedref.Implantation']"}),
56 'implantation_physique': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'lieu_travail_reel_de'", 'db_column': "'implantation_physique'", 'to': "orm['managedref.Implantation']"}),
57 'mandat_debut': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
58 'mandat_fin': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
59 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
60 'poste_type_1': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'poste_type_1'", 'null': 'True', 'db_column': "'poste_type_1'", 'to': "orm['managedref.PosteType']"}),
61 'poste_type_2': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'poste_type_2'", 'null': 'True', 'db_column': "'poste_type_2'", 'to': "orm['managedref.PosteType']"}),
62 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
63 'responsable': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'responsable_de'", 'null': 'True', 'db_column': "'responsable'", 'to': "orm['managedref.Employe']"}),
64 'service': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Service']", 'db_column': "'service'"}),
65 'telephone_ip': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
66 'telephone_poste': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
67 },
68 'managedref.etablissement': {
69 'Meta': {'ordering': "['pays__nom', 'nom']", 'object_name': 'Etablissement', 'db_table': "u'ref_etablissement'"},
70 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
71 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
72 'cedex': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
73 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
74 'commentaire': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
75 'date_modification': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
76 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
77 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
78 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'implantation'", 'to': "orm['managedref.Implantation']"}),
79 'membre': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
80 'membre_adhesion_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
81 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
82 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to_field': "'code'", 'db_column': "'pays'", 'to': "orm['managedref.Pays']"}),
83 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
84 'qualite': ('django.db.models.fields.CharField', [], {'max_length': '3', 'null': 'True', 'blank': 'True'}),
85 'region': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'region'", 'to': "orm['managedref.Region']"}),
86 'responsable_genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'blank': 'True'}),
87 'responsable_nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
88 'responsable_prenom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
89 'statut': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
90 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
91 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
92 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
93 },
94 'managedref.groupeadmregion': {
95 'Meta': {'object_name': 'GroupeAdmRegion', 'db_table': "u'ref_groupe_adm_region'"},
96 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
97 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
98 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Region']", 'db_column': "'region'"})
100 },
101 'managedref.groupearh': {
102 'Meta': {'object_name': 'GroupeArh', 'db_table': "u'ref_groupe_arh'"},
103 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
104 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
105 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
106 },
107 'managedref.groupecomptable': {
108 'Meta': {'object_name': 'GroupeComptable', 'db_table': "u'ref_groupe_comptable'"},
109 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
110 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
111 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
112 },
113 'managedref.groupecomptablelocal': {
114 'Meta': {'object_name': 'GroupeComptableLocal', 'db_table': "u'ref_groupe_comptable_local'"},
115 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
116 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
117 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
118 },
119 'managedref.groupecomptableregional': {
120 'Meta': {'object_name': 'GroupeComptableRegional', 'db_table': "u'ref_groupe_comptable_regional'"},
121 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
122 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
123 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
124 },
125 'managedref.groupedirdelegprogrammereg': {
126 'Meta': {'object_name': 'GroupeDirDelegProgrammeReg', 'db_table': "u'ref_groupe_dir_deleg_programme_reg'"},
127 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
128 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
129 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
130 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Region']", 'db_column': "'region'"})
131 },
132 'managedref.groupedirprogramme': {
133 'Meta': {'object_name': 'GroupeDirProgramme', 'db_table': "u'ref_groupe_dir_programme'"},
134 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
135 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
136 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
137 'service': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Service']", 'db_column': "'service'"})
138 },
139 'managedref.groupedirregion': {
140 'Meta': {'object_name': 'GroupeDirRegion', 'db_table': "u'ref_groupe_dir_region'"},
141 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
142 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
143 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
144 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Region']", 'db_column': "'region'"})
145 },
146 'managedref.grouperespimplantation': {
147 'Meta': {'object_name': 'GroupeRespImplantation', 'db_table': "u'ref_groupe_resp_implantation'"},
148 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
149 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Employe']", 'db_column': "'employe'"}),
150 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
151 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Implantation']", 'db_column': "'implantation'"}),
152 'type': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
153 },
154 'managedref.implantation': {
155 'Meta': {'ordering': "['nom']", 'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
156 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
157 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
158 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
159 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
160 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
161 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'to_field': "'code'", 'db_column': "'adresse_physique_pays'", 'to': "orm['managedref.Pays']"}),
162 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
163 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
164 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
165 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
166 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
167 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
168 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
169 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
170 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
171 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
172 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'to_field': "'code'", 'db_column': "'adresse_postale_pays'", 'to': "orm['managedref.Pays']"}),
173 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
174 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
175 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
176 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
177 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
178 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Implantation']", 'db_column': "'bureau_rattachement'"}),
179 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
180 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
181 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
182 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
183 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
184 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
185 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
186 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
187 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
188 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
189 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
190 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
191 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
192 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
193 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
194 'modif_date': ('django.db.models.fields.DateField', [], {}),
195 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
196 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
197 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
198 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Region']", 'db_column': "'region'"}),
199 'remarque': ('django.db.models.fields.TextField', [], {}),
200 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
201 'statut': ('django.db.models.fields.IntegerField', [], {}),
202 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
203 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
204 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
205 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
206 },
207 'managedref.objectifspecifique': {
208 'Meta': {'ordering': "['nom']", 'object_name': 'ObjectifSpecifique', 'db_table': "u'ref_objectif_specifique'"},
209 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
210 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
211 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
212 'objectif_strategique': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.ObjectifStrategique']", 'db_column': "'objectif_strategique'"})
213 },
214 'managedref.objectifstrategique': {
215 'Meta': {'ordering': "['nom']", 'object_name': 'ObjectifStrategique', 'db_table': "u'ref_objectif_strategique'"},
216 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
217 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
218 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
219 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
220 },
221 'managedref.pays': {
222 'Meta': {'ordering': "['nom']", 'object_name': 'Pays', 'db_table': "u'ref_pays'"},
223 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
224 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2'}),
225 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Bureau']", 'to_field': "'code'", 'null': 'True', 'db_column': "'code_bureau'", 'blank': 'True'}),
226 'code_iso3': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3'}),
227 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
228 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
230 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
231 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
232 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Region']", 'db_column': "'region'"})
233 },
234 'managedref.poste': {
235 'Meta': {'object_name': 'Poste', 'db_table': "u'ref_poste'"},
236 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
237 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
238 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
239 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
240 'type': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
241 },
242 'managedref.postetype': {
243 'Meta': {'object_name': 'PosteType', 'db_table': "u'ref_poste_type'"},
244 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
245 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
246 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
247 },
248 'managedref.programme': {
249 'Meta': {'object_name': 'Programme', 'db_table': "u'ref_programme'"},
250 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
251 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
252 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
253 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
254 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
255 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
256 },
257 'managedref.projet': {
258 'Meta': {'ordering': "['nom']", 'object_name': 'Projet', 'db_table': "u'ref_projet'"},
259 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
260 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
261 'date_debut': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
262 'date_fin': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
263 'etablissement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Etablissement']", 'null': 'True', 'db_column': "'etablissement'", 'blank': 'True'}),
264 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
265 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Implantation']", 'null': 'True', 'db_column': "'implantation'", 'blank': 'True'}),
266 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
267 'objectif_specifique': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.ObjectifSpecifique']", 'null': 'True', 'db_column': "'objectif_specifique'", 'blank': 'True'}),
268 'partenaires': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
269 'presentation': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
270 'service': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
271 },
272 'managedref.projetcomposante': {
273 'Meta': {'ordering': "['nom']", 'object_name': 'ProjetComposante', 'db_table': "u'ref_projet_composante'"},
274 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
275 'code': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
276 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
277 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
278 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
279 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
280 'projet': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Projet']", 'db_column': "'projet'"})
281 },
282 'managedref.projetposte': {
283 'Meta': {'object_name': 'ProjetPoste', 'db_table': "u'ref_projet_poste'"},
284 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
285 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
286 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
287 'code_poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Poste']", 'to_field': "'code'", 'db_column': "'code_poste'"}),
288 'code_programme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Programme']", 'to_field': "'code'", 'db_column': "'code_programme'"}),
289 'code_projet': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['managedref.Projet']", 'to_field': "'code'", 'db_column': "'code_projet'"}),
290 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'})
291 },
292 'managedref.projetup': {
293 'Meta': {'object_name': 'ProjetUp'},
294 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
295 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
296 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
297 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
298 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
299 },
300 'managedref.region': {
301 'Meta': {'ordering': "['nom']", 'object_name': 'Region', 'db_table': "u'ref_region'"},
302 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
303 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
304 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
305 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'gere_region'", 'null': 'True', 'db_column': "'implantation_bureau'", 'to': "orm['managedref.Implantation']"}),
306 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'})
307 },
308 'managedref.service': {
309 'Meta': {'ordering': "['nom']", 'object_name': 'Service', 'db_table': "u'ref_service'"},
310 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
311 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
312 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
313 },
314 'managedref.thematique': {
315 'Meta': {'ordering': "['nom']", 'object_name': 'Thematique', 'db_table': "u'ref_thematique'"},
316 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
317 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
318 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
319 },
320 'managedref.uniteprojet': {
321 'Meta': {'ordering': "['nom']", 'object_name': 'UniteProjet', 'db_table': "u'ref_unite_projet'"},
322 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
323 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'}),
324 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
325 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
326 }
327 }
328
329 complete_apps = ['managedref']