Interface FAUN: Empêcher les doublons
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / interfaces / migrations / 0002_auto__add_unique_faunauteur_faun_auteur.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 unique constraint on 'FaunAuteur', fields ['faun_auteur']
12 db.create_unique('interfaces_faunauteur', ['faun_auteur'])
13
14
15 def backwards(self, orm):
16
17 # Removing unique constraint on 'FaunAuteur', fields ['faun_auteur']
18 db.delete_unique('interfaces_faunauteur', ['faun_auteur'])
19
20
21 models = {
22 'auth.group': {
23 'Meta': {'object_name': 'Group'},
24 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
25 'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True'}),
26 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
27 },
28 'auth.permission': {
29 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
30 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
34 },
35 'auth.user': {
36 'Meta': {'object_name': 'User'},
37 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
38 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
39 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
40 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
43 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
44 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
45 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
46 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
47 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
48 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
49 'username': ('django.db.models.fields.CharField', [], {'max_length': '30', 'unique': 'True'})
50 },
51 'chercheurs.adhesiongroupe': {
52 'Meta': {'ordering': "['chercheur']", 'object_name': 'AdhesionGroupe'},
53 'chercheur': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Chercheur']", 'db_column': "'chercheur'"}),
54 'date_inscription': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
55 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
56 'groupe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership'", 'db_column': "'groupe'", 'to': "orm['chercheurs.Groupe']"}),
57 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id'"}),
58 'statut': ('django.db.models.fields.CharField', [], {'default': "'nouveau'", 'max_length': '100'})
59 },
60 'chercheurs.chercheur': {
61 'Meta': {'ordering': "['nom', 'prenom']", 'object_name': 'Chercheur', '_ormbases': ['chercheurs.Personne']},
62 'attestation': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
63 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'db_column': "'date_creation'", 'blank': 'True'}),
64 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'db_column': "'date_modification'", 'blank': 'True'}),
65 'diplome': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
66 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Discipline']", 'null': 'True', 'db_column': "'discipline'"}),
67 'equipe_recherche': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
68 'etablissement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Etablissement']", 'null': 'True', 'db_column': "'etablissement'", 'blank': 'True'}),
69 'etablissement_autre_nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
70 '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']"}),
71 'expert_oif': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
72 'expert_oif_dates': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
73 'expert_oif_details': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
74 'expertises_auf': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
75 'groupes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'membres'", 'blank': 'True', 'through': "orm['chercheurs.AdhesionGroupe']", 'to': "orm['chercheurs.Groupe']"}),
76 'membre_association_francophone': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
77 'membre_association_francophone_details': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
78 'membre_instance_auf': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
79 'membre_instance_auf_dates': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
80 'membre_instance_auf_fonction': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
81 'membre_instance_auf_nom': ('django.db.models.fields.CharField', [], {'max_length': '10', 'blank': 'True'}),
82 'membre_reseau_institutionnel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
83 'membre_reseau_institutionnel_dates': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
84 'membre_reseau_institutionnel_fonction': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
85 'membre_reseau_institutionnel_nom': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}),
86 'mots_cles': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
87 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nationalite'", 'null': 'True', 'db_column': "'nationalite'", 'to': "orm['datamaster_modeles.Pays']"}),
88 'personne_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['chercheurs.Personne']", 'unique': 'True', 'primary_key': 'True'}),
89 'statut': ('django.db.models.fields.CharField', [], {'max_length': '36'}),
90 'thematique': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Thematique']", 'null': 'True', 'db_column': "'thematique'", 'blank': 'True'}),
91 'theme_recherche': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
92 'url_blog': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
93 'url_reseau_social': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
94 'url_site_web': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
95 },
96 'chercheurs.groupe': {
97 'Meta': {'ordering': "['nom']", 'object_name': 'Groupe'},
98 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'actif'"}),
99 'bulletin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
100 'groupe_chercheur': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
101 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id'"}),
102 'liste_diffusion': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
103 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_column': "'nom'"}),
104 'page_accueil': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
105 'recherches': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'recherche_groupe'", 'blank': 'True', 'to': "orm['savoirs.Search']"}),
106 'responsables': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'responsable_groupe'", 'blank': 'True', 'to': "orm['auth.User']"}),
107 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
108 },
109 'chercheurs.personne': {
110 'Meta': {'ordering': "['nom', 'prenom']", 'object_name': 'Personne'},
111 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
112 'adresse_postale': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
113 'afficher_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
114 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
115 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '128'}),
116 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
117 'fonction': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
118 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
119 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
120 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
121 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
122 'salutation': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
123 'sousfonction': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
124 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}),
125 'user': ('django.db.models.fields.related.OneToOneField', [], {'blank': 'True', 'related_name': "'chercheur'", 'unique': 'True', 'null': 'True', 'to': "orm['auth.User']"})
126 },
127 'contenttypes.contenttype': {
128 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
129 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
130 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
131 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
132 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
133 },
134 'datamaster_modeles.bureau': {
135 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
136 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
137 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
138 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
139 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
140 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
141 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
142 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
143 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
144 },
145 'datamaster_modeles.etablissement': {
146 'Meta': {'ordering': "('nom',)", 'object_name': 'Etablissement', 'db_table': "u'ref_etablissement'"},
147 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
148 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
149 'cedex': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
150 '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']"}),
151 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
152 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
153 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
154 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_etablissement'", 'db_column': "'implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
155 'membre': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
156 'membre_adhesion_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
157 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
158 'pays': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Pays']", 'db_column': "'pays'"}),
159 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
160 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
161 'responsable_genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'blank': 'True'}),
162 'responsable_nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
163 'responsable_prenom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
164 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
165 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
166 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
167 },
168 'datamaster_modeles.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'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.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', 'blank': 'True'}),
182 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
183 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', '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', 'blank': 'True'}),
186 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
187 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
188 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
189 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
190 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', '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['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
193 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
194 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
195 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
196 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
197 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
198 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
199 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
200 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
201 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
202 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
203 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
204 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
205 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
206 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
207 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
208 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
209 'modif_date': ('django.db.models.fields.DateField', [], {}),
210 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
211 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
212 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
213 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
214 'remarque': ('django.db.models.fields.TextField', [], {}),
215 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
216 'statut': ('django.db.models.fields.IntegerField', [], {}),
217 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
218 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
219 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
220 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
221 },
222 'datamaster_modeles.pays': {
223 'Meta': {'ordering': "('nom',)", 'object_name': 'Pays', 'db_table': "u'ref_pays'"},
224 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
225 'code': ('django.db.models.fields.CharField', [], {'max_length': '2', 'primary_key': 'True'}),
226 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
227 'code_iso3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'unique': 'True', 'blank': 'True'}),
228 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
229 'id': ('django.db.models.fields.IntegerField', [], {}),
230 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
231 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
232 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
233 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
234 },
235 'datamaster_modeles.region': {
236 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
237 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
238 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
239 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
240 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
241 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
242 },
243 'datamaster_modeles.thematique': {
244 'Meta': {'object_name': 'Thematique', 'db_table': "u'ref_thematique'"},
245 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
246 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
247 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
248 },
249 'interfaces.faunauteur': {
250 'Meta': {'object_name': 'FaunAuteur'},
251 'faun_auteur': ('django.db.models.fields.IntegerField', [], {'unique': 'True'}),
252 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
253 'sep_chercheur': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['chercheurs.Chercheur']"})
254 },
255 'savoirs.discipline': {
256 'Meta': {'ordering': "['nom']", 'object_name': 'Discipline', 'db_table': "u'discipline'"},
257 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True', 'db_column': "'id_discipline'"}),
258 'nom': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'nom_discipline'"})
259 },
260 'savoirs.search': {
261 'Meta': {'object_name': 'Search'},
262 'alerte_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
263 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
264 'derniere_alerte': ('django.db.models.fields.DateField', [], {'null': 'True'}),
265 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Discipline']", 'null': 'True', 'blank': 'True'}),
266 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'nom': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
268 'q': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
269 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'null': 'True', 'blank': 'True'}),
270 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
271 }
272 }
273
274 complete_apps = ['interfaces']