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