import users
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / savoirs / migrations / 0016_superusers.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 "Write your forwards methods here."
11 users = (
12 'olivier.larcheveque@auf.org',
13 'davin.baragiotta@auf.org',
14 'ali.jetha@auf.org',
15 )
16 for courriel in users:
17 try:
18 u = orm['auth.User'].objects.get(email=courriel)
19 u.is_superuser = True
20 u.save()
21 except:
22 print "%s n'a pas pu devenir superuser" % courriel
23
24 def backwards(self, orm):
25 "Write your backwards methods here."
26
27
28 models = {
29 'auth.group': {
30 'Meta': {'object_name': 'Group'},
31 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True'}),
33 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
34 },
35 'auth.permission': {
36 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
37 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
38 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
39 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
40 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
41 },
42 'auth.user': {
43 'Meta': {'object_name': 'User'},
44 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
45 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
46 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
47 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
48 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
50 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
51 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
52 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
53 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
54 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
55 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
56 'username': ('django.db.models.fields.CharField', [], {'max_length': '30', 'unique': 'True'})
57 },
58 'contenttypes.contenttype': {
59 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
60 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
61 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
62 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
64 },
65 'datamaster_modeles.bureau': {
66 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
67 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
68 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
69 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
70 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
71 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
72 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
73 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
74 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
75 },
76 'datamaster_modeles.implantation': {
77 'Meta': {'ordering': "('nom',)", 'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
78 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
79 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
80 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
81 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
82 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
83 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
84 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
85 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
86 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
87 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
88 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
89 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
90 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
91 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
92 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
93 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
94 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
95 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
96 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
97 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
98 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
99 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
100 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
101 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
102 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
103 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
104 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
105 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
106 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
107 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
108 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
109 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
110 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
111 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
112 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
113 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
114 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
115 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
116 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
117 'modif_date': ('django.db.models.fields.DateField', [], {}),
118 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
119 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
120 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
121 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
122 'remarque': ('django.db.models.fields.TextField', [], {}),
123 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
124 'statut': ('django.db.models.fields.IntegerField', [], {}),
125 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
126 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
127 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
128 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
129 },
130 'datamaster_modeles.pays': {
131 'Meta': {'ordering': "('nom',)", 'object_name': 'Pays', 'db_table': "u'ref_pays'"},
132 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
133 'code': ('django.db.models.fields.CharField', [], {'max_length': '2', 'primary_key': 'True'}),
134 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
135 'code_iso3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'unique': 'True', 'blank': 'True'}),
136 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
137 'id': ('django.db.models.fields.IntegerField', [], {}),
138 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
139 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
140 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
141 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
142 },
143 'datamaster_modeles.region': {
144 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
145 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
146 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
147 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
148 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
149 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
150 },
151 'datamaster_modeles.thematique': {
152 'Meta': {'object_name': 'Thematique', 'db_table': "u'ref_thematique'"},
153 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
154 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
155 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
156 },
157 'savoirs.actualite': {
158 'Meta': {'ordering': "['-date']", 'object_name': 'Actualite', 'db_table': "u'actualite'"},
159 'ancienid': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'db_column': "'ancienId_actualite'", 'blank': 'True'}),
160 'date': ('django.db.models.fields.DateField', [], {'db_column': "'date_actualite'"}),
161 'disciplines': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'actualites'", 'blank': 'True', 'to': "orm['savoirs.Discipline']"}),
162 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id_actualite'"}),
163 'regions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'actualites'", 'blank': 'True', 'to': "orm['datamaster_modeles.Region']"}),
164 'source': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actualites'", 'to': "orm['savoirs.SourceActualite']"}),
165 'texte': ('django.db.models.fields.TextField', [], {'db_column': "'texte_actualite'"}),
166 'titre': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'titre_actualite'"}),
167 'url': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'url_actualite'"}),
168 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'visible_actualite'"})
169 },
170 'savoirs.actualitesearch': {
171 'Meta': {'object_name': 'ActualiteSearch'},
172 'date_max': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
173 'date_min': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
174 'search_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['savoirs.Search']", 'unique': 'True', 'primary_key': True})
175 },
176 'savoirs.appelsearch': {
177 'Meta': {'object_name': 'AppelSearch'},
178 'date_max': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
179 'date_min': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
180 'search_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['savoirs.Search']", 'unique': 'True', 'primary_key': 'True'})
181 },
182 'savoirs.discipline': {
183 'Meta': {'ordering': "['nom']", 'object_name': 'Discipline', 'db_table': "u'discipline'"},
184 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True', 'db_column': "'id_discipline'"}),
185 'nom': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'nom_discipline'"})
186 },
187 'savoirs.evenement': {
188 'Meta': {'ordering': "['-debut']", 'object_name': 'Evenement'},
189 'adresse': ('django.db.models.fields.TextField', [], {}),
190 'approuve': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
191 'contact': ('django.db.models.fields.TextField', [], {'null': 'True'}),
192 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
193 'debut': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
194 'description': ('django.db.models.fields.TextField', [], {}),
195 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'discipline'", 'blank': 'True', 'null': 'True', 'to': "orm['savoirs.Discipline']"}),
196 'discipline_secondaire': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'discipline_secondaire'", 'blank': 'True', 'null': 'True', 'to': "orm['savoirs.Discipline']"}),
197 'fin': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
198 'fuseau': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
199 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'mots_cles': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
201 'nom': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
202 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'evenements'", 'null': 'True', 'to': "orm['datamaster_modeles.Pays']"}),
203 'piece_jointe': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'blank': 'True'}),
204 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
205 'regions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'evenements'", 'blank': 'True', 'to': "orm['datamaster_modeles.Region']"}),
206 'titre': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
207 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
208 'uid': ('django.db.models.fields.CharField', [], {'default': "'ad8811e0-6441-11e0-8f3e-64315030e72d'", 'max_length': '255'}),
209 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
210 'ville': ('django.db.models.fields.CharField', [], {'max_length': '100'})
211 },
212 'savoirs.evenementsearch': {
213 'Meta': {'object_name': 'EvenementSearch', '_ormbases': ['savoirs.Search']},
214 'date_max': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
215 'date_min': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
216 'search_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['savoirs.Search']", 'unique': 'True', 'primary_key': 'True'}),
217 'titre': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
218 'type': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
219 },
220 'savoirs.harvestlog': {
221 'Meta': {'object_name': 'HarvestLog'},
222 'added': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
223 'context': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
224 'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
225 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
226 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
227 'processed': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
228 'record': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Record']", 'null': 'True', 'blank': 'True'}),
229 'updated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
230 },
231 'savoirs.listset': {
232 'Meta': {'object_name': 'ListSet'},
233 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
234 'server': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
235 'spec': ('django.db.models.fields.CharField', [], {'max_length': '255', 'primary_key': 'True'}),
236 'validated': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
237 },
238 'savoirs.pagestatique': {
239 'Meta': {'object_name': 'PageStatique'},
240 'contenu': ('django.db.models.fields.TextField', [], {}),
241 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True'}),
242 'titre': ('django.db.models.fields.CharField', [], {'max_length': '100'})
243 },
244 'savoirs.profile': {
245 'Meta': {'object_name': 'Profile'},
246 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
247 'serveurs': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['savoirs.Serveur']", 'symmetrical': 'False', 'null': 'True', 'blank': 'True'}),
248 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'unique': 'True'})
249 },
250 'savoirs.record': {
251 'Meta': {'object_name': 'Record'},
252 'abstract': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
253 'alt_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
254 'contributor': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
255 'creation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
256 'creator': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
257 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
258 'disciplines': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['savoirs.Discipline']", 'symmetrical': 'False', 'blank': 'True'}),
259 'format': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
260 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
261 'identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
262 'isbn': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
263 'issued': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
264 'language': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
265 'last_checksum': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
266 'last_update': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
267 'listsets': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['savoirs.ListSet']", 'symmetrical': 'False', 'null': 'True', 'blank': 'True'}),
268 'modified': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
269 'orig_lang': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
270 'pays': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['datamaster_modeles.Pays']", 'symmetrical': 'False', 'blank': 'True'}),
271 'publisher': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
272 'regions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['datamaster_modeles.Region']", 'symmetrical': 'False', 'blank': 'True'}),
273 'server': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
274 'source': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
275 'subject': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
276 'thematiques': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['datamaster_modeles.Thematique']", 'symmetrical': 'False', 'blank': 'True'}),
277 'title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
278 'type': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
279 'uri': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
280 'validated': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
281 },
282 'savoirs.ressourcesearch': {
283 'Meta': {'object_name': 'RessourceSearch', '_ormbases': ['savoirs.Search']},
284 'auteur': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
285 'publisher': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
286 'search_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['savoirs.Search']", 'unique': 'True', 'primary_key': 'True'}),
287 'sujet': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
288 'titre': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
289 },
290 'savoirs.search': {
291 'Meta': {'object_name': 'Search'},
292 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
293 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Discipline']", 'null': 'True', 'blank': 'True'}),
294 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
295 'nom': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
296 'q': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
297 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'null': 'True', 'blank': 'True'}),
298 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
299 },
300 'savoirs.serveur': {
301 'Meta': {'object_name': 'Serveur'},
302 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'primary_key': 'True'})
303 },
304 'savoirs.sourceactualite': {
305 'Meta': {'object_name': 'SourceActualite'},
306 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
307 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
308 'type': ('django.db.models.fields.CharField', [], {'default': "'actu'", 'max_length': '10'}),
309 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
310 }
311 }
312
313 complete_apps = ['savoirs']