Adhésion: Migration actif -> statut
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / chercheurs / migrations / 0017_actif_vers_statut.py
1 # encoding: utf-8
2 import datetime
3 from south.db import db
4 from south.v2 import DataMigration
5 from django.db import models
6
7 class Migration(DataMigration):
8
9 def forwards(self, orm):
10 for cg in orm.ChercheurGroupe.objects.all():
11 if cg.actif:
12 cg.statut = 'accepte'
13 else:
14 cg.statut = 'nouveau'
15 cg.save()
16
17
18 def backwards(self, orm):
19 for cg in orm.ChercheurGroupe.objects.all():
20 if cg.statut == 'accepte':
21 cg.actif = 1
22 else:
23 cg.actif = 0
24 cg.save()
25
26
27 models = {
28 'auth.group': {
29 'Meta': {'object_name': 'Group'},
30 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
31 'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True'}),
32 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
33 },
34 'auth.permission': {
35 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
36 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
37 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
38 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
40 },
41 'auth.user': {
42 'Meta': {'object_name': 'User'},
43 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
44 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
45 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
46 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
47 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
48 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
49 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
50 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
51 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
52 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
53 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
54 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
55 'username': ('django.db.models.fields.CharField', [], {'max_length': '30', 'unique': 'True'})
56 },
57 'chercheurs.chercheur': {
58 'Meta': {'ordering': "['nom', 'prenom']", 'object_name': 'Chercheur', '_ormbases': ['chercheurs.Personne']},
59 'attestation': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
60 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'db_column': "'date_creation'", 'blank': 'True'}),
61 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'db_column': "'date_modification'", 'blank': 'True'}),
62 'diplome': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
63 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Discipline']", 'null': 'True', 'db_column': "'discipline'"}),
64 'etablissement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Etablissement']", 'null': 'True', 'db_column': "'etablissement'", 'blank': 'True'}),
65 'etablissement_autre_nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
66 'etablissement_autre_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'etablissement_autre_pays'", 'blank': 'True', 'null': 'True', 'db_column': "'etablissement_autre_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
67 'expert_oif': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
68 'expert_oif_dates': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
69 'expert_oif_details': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
70 'expertises_auf': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
71 'groupe_recherche': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
72 'groupes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'membres'", 'blank': 'True', 'through': "orm['chercheurs.ChercheurGroupe']", 'to': "orm['chercheurs.Groupe']"}),
73 'membre_association_francophone': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
74 'membre_association_francophone_details': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
75 'membre_instance_auf': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
76 'membre_instance_auf_dates': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
77 'membre_instance_auf_fonction': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
78 'membre_instance_auf_nom': ('django.db.models.fields.CharField', [], {'max_length': '10', 'blank': 'True'}),
79 'membre_reseau_institutionnel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
80 'membre_reseau_institutionnel_dates': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
81 'membre_reseau_institutionnel_fonction': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
82 'membre_reseau_institutionnel_nom': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}),
83 'mots_cles': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
84 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nationalite'", 'null': 'True', 'db_column': "'nationalite'", 'to': "orm['datamaster_modeles.Pays']"}),
85 'personne_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['chercheurs.Personne']", 'unique': 'True', 'primary_key': 'True'}),
86 'statut': ('django.db.models.fields.CharField', [], {'max_length': '36'}),
87 'thematique': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Thematique']", 'null': 'True', 'db_column': "'thematique'", 'blank': 'True'}),
88 'theme_recherche': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
89 'url_blog': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
90 'url_reseau_social': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
91 'url_site_web': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
92 },
93 'chercheurs.chercheurgroupe': {
94 'Meta': {'ordering': "['chercheur']", 'object_name': 'ChercheurGroupe'},
95 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'actif'"}),
96 'chercheur': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Chercheur']", 'db_column': "'chercheur'"}),
97 'date_inscription': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
98 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
99 'groupe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership'", 'db_column': "'groupe'", 'to': "orm['chercheurs.Groupe']"}),
100 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id'"}),
101 'statut': ('django.db.models.fields.CharField', [], {'default': "'nouveau'", 'max_length': '100'})
102 },
103 'chercheurs.chercheursearch': {
104 'Meta': {'object_name': 'ChercheurSearch', '_ormbases': ['savoirs.Search']},
105 'activites_francophonie': ('django.db.models.fields.CharField', [], {'max_length': '25', 'blank': 'True'}),
106 'domaine': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Groupe']", 'null': 'True', 'blank': 'True'}),
107 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'blank': 'True'}),
108 'groupe_chercheur': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Groupe']", 'null': 'True', 'blank': 'True'}),
109 'groupe_recherche': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
110 'nom_chercheur': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
111 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}),
112 'pays': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Pays']", 'null': 'True', 'blank': 'True'}),
113 'search_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['savoirs.Search']", 'unique': 'True', 'primary_key': 'True'}),
114 'statut': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
115 },
116 'chercheurs.domainerecherche': {
117 'Meta': {'object_name': 'DomaineRecherche', 'db_table': "'chercheurs_groupe'", '_ormbases': ['chercheurs.Groupe'], 'proxy': 'True'}
118 },
119 'chercheurs.expertise': {
120 'Meta': {'object_name': 'Expertise'},
121 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'actif'"}),
122 'chercheur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'expertises'", 'to': "orm['chercheurs.Chercheur']"}),
123 'date': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
124 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id'"}),
125 'lieu': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
126 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
127 'organisme_demandeur': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
128 'organisme_demandeur_visible': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
129 },
130 'chercheurs.groupe': {
131 'Meta': {'object_name': 'Groupe'},
132 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'actif'"}),
133 'bulletin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
134 'groupe_chercheur': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
135 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id'"}),
136 'liste_diffusion': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
137 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_column': "'nom'"}),
138 'page_accueil': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
139 'recherches': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'recherche_groupe'", 'blank': 'True', 'to': "orm['savoirs.Search']"}),
140 'responsables': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'responsable_groupe'", 'blank': 'True', 'to': "orm['auth.User']"}),
141 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
142 },
143 'chercheurs.groupechercheur': {
144 'Meta': {'object_name': 'GroupeChercheur', 'db_table': "'chercheurs_groupe'", '_ormbases': ['chercheurs.Groupe'], 'proxy': 'True'}
145 },
146 'chercheurs.groupesearch': {
147 'Meta': {'object_name': 'GroupeSearch', '_ormbases': ['savoirs.Search']},
148 'search_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['savoirs.Search']", 'unique': 'True', 'primary_key': 'True'})
149 },
150 'chercheurs.message': {
151 'Meta': {'ordering': "['-date_creation']", 'object_name': 'Message'},
152 'chercheur': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Chercheur']", 'db_column': "'chercheur'"}),
153 'contenu': ('django.db.models.fields.TextField', [], {}),
154 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_column': "'date_creation'", 'blank': 'True'}),
155 'groupe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Groupe']", 'db_column': "'groupe'"}),
156 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157 'titre': ('django.db.models.fields.CharField', [], {'max_length': '255'})
158 },
159 'chercheurs.personne': {
160 'Meta': {'ordering': "['nom', 'prenom']", 'object_name': 'Personne'},
161 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
162 'adresse_postale': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
163 'afficher_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
164 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
165 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '128'}),
166 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
167 'fonction': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
168 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
169 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
170 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
171 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
172 'salutation': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
173 'sousfonction': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
174 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'})
175 },
176 'chercheurs.publication': {
177 'Meta': {'object_name': 'Publication'},
178 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
179 'annee': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
180 'auteurs': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
181 'chercheur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'publications'", 'to': "orm['chercheurs.Chercheur']"}),
182 'editeur': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
183 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
184 'lieu_edition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
185 'nb_pages': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
186 'publication_affichage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
187 'revue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
188 'titre': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
189 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
190 },
191 'chercheurs.these': {
192 'Meta': {'object_name': 'These'},
193 'annee': ('django.db.models.fields.IntegerField', [], {}),
194 'chercheur': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['chercheurs.Chercheur']", 'unique': 'True', 'primary_key': 'True'}),
195 'directeur': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
196 'etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
197 'nb_pages': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
198 'titre': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
199 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
200 },
201 'contenttypes.contenttype': {
202 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
203 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
204 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
205 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
206 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
207 },
208 'datamaster_modeles.bureau': {
209 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
210 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
211 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
212 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
213 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
214 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
215 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
216 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
217 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
218 },
219 'datamaster_modeles.etablissement': {
220 'Meta': {'ordering': "('nom',)", 'object_name': 'Etablissement', 'db_table': "u'ref_etablissement'"},
221 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
222 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
223 'cedex': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
224 'code_implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'code_gere_etablissement'", 'to_field': "'code'", 'db_column': "'code_implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
225 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
226 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
227 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
228 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_etablissement'", 'db_column': "'implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
229 'membre': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
230 'membre_adhesion_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
231 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
232 'pays': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Pays']", 'db_column': "'pays'"}),
233 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
234 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
235 'responsable_genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'blank': 'True'}),
236 'responsable_nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
237 'responsable_prenom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
238 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
239 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
240 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
241 },
242 'datamaster_modeles.implantation': {
243 'Meta': {'ordering': "('nom',)", 'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
244 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
245 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
246 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
247 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
248 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
249 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
250 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
251 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
252 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
253 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
254 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
255 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
256 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
257 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
258 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
259 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
260 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
261 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
262 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
263 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
264 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
265 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
266 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
267 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
268 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
269 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
270 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
271 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
272 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
273 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
274 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
275 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
276 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
277 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
278 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
279 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
280 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
281 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
282 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
283 'modif_date': ('django.db.models.fields.DateField', [], {}),
284 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
285 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
286 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
287 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
288 'remarque': ('django.db.models.fields.TextField', [], {}),
289 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
290 'statut': ('django.db.models.fields.IntegerField', [], {}),
291 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
292 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
293 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
294 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
295 },
296 'datamaster_modeles.pays': {
297 'Meta': {'ordering': "('nom',)", 'object_name': 'Pays', 'db_table': "u'ref_pays'"},
298 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
299 'code': ('django.db.models.fields.CharField', [], {'max_length': '2', 'primary_key': 'True'}),
300 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
301 'code_iso3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'unique': 'True', 'blank': 'True'}),
302 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
303 'id': ('django.db.models.fields.IntegerField', [], {}),
304 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
305 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
306 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
307 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
308 },
309 'datamaster_modeles.region': {
310 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
311 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
312 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
313 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
314 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
315 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
316 },
317 'datamaster_modeles.thematique': {
318 'Meta': {'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 'savoirs.discipline': {
324 'Meta': {'ordering': "['nom']", 'object_name': 'Discipline', 'db_table': "u'discipline'"},
325 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True', 'db_column': "'id_discipline'"}),
326 'nom': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'nom_discipline'"})
327 },
328 'savoirs.search': {
329 'Meta': {'object_name': 'Search'},
330 'alerte_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
331 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
332 'derniere_alerte': ('django.db.models.fields.DateField', [], {'null': 'True'}),
333 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Discipline']", 'null': 'True', 'blank': 'True'}),
334 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
335 'nom': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
336 'q': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
337 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'null': 'True', 'blank': 'True'}),
338 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
339 }
340 }
341
342 complete_apps = ['chercheurs']