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