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