Migré les migrations sous le contrôle de South
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / savoirs / migrations / 0001_initial.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 model 'Discipline'
12 db.create_table(u'discipline', (
13 ('id', self.gf('django.db.models.fields.IntegerField')(primary_key=True, db_column='id_discipline')),
14 ('nom', self.gf('django.db.models.fields.CharField')(max_length=765, db_column='nom_discipline')),
15 ))
16 db.send_create_signal('savoirs', ['Discipline'])
17
18 # Adding model 'SourceActualite'
19 db.create_table('savoirs_sourceactualite', (
20 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
21 ('nom', self.gf('django.db.models.fields.CharField')(max_length=255)),
22 ('url', self.gf('django.db.models.fields.CharField')(max_length=255)),
23 ))
24 db.send_create_signal('savoirs', ['SourceActualite'])
25
26 # Adding model 'Actualite'
27 db.create_table(u'actualite', (
28 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True, db_column='id_actualite')),
29 ('titre', self.gf('django.db.models.fields.CharField')(max_length=765, db_column='titre_actualite')),
30 ('texte', self.gf('django.db.models.fields.TextField')(db_column='texte_actualite')),
31 ('url', self.gf('django.db.models.fields.CharField')(max_length=765, db_column='url_actualite')),
32 ('date', self.gf('django.db.models.fields.DateField')(db_column='date_actualite')),
33 ('visible', self.gf('django.db.models.fields.BooleanField')(default=False, db_column='visible_actualite')),
34 ('ancienid', self.gf('django.db.models.fields.IntegerField')(null=True, db_column='ancienId_actualite', blank=True)),
35 ('source', self.gf('django.db.models.fields.related.ForeignKey')(related_name='actualites', blank=True, null=True, to=orm['savoirs.SourceActualite'])),
36 ))
37 db.send_create_signal('savoirs', ['Actualite'])
38
39 # Adding M2M table for field disciplines on 'Actualite'
40 db.create_table(u'actualite_disciplines', (
41 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
42 ('actualite', models.ForeignKey(orm['savoirs.actualite'], null=False)),
43 ('discipline', models.ForeignKey(orm['savoirs.discipline'], null=False))
44 ))
45 db.create_unique(u'actualite_disciplines', ['actualite_id', 'discipline_id'])
46
47 # Adding M2M table for field regions on 'Actualite'
48 db.create_table(u'actualite_regions', (
49 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
50 ('actualite', models.ForeignKey(orm['savoirs.actualite'], null=False)),
51 ('region', models.ForeignKey(orm['datamaster_modeles.region'], null=False))
52 ))
53 db.create_unique(u'actualite_regions', ['actualite_id', 'region_id'])
54
55 # Adding model 'Evenement'
56 db.create_table('savoirs_evenement', (
57 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
58 ('uid', self.gf('django.db.models.fields.CharField')(default='937a6510-1e72-11e0-a2c2-90e6ba758372', max_length=255)),
59 ('approuve', self.gf('django.db.models.fields.BooleanField')(default=False)),
60 ('titre', self.gf('django.db.models.fields.CharField')(max_length=255)),
61 ('discipline', self.gf('django.db.models.fields.related.ForeignKey')(related_name='discipline', blank=True, null=True, to=orm['savoirs.Discipline'])),
62 ('discipline_secondaire', self.gf('django.db.models.fields.related.ForeignKey')(related_name='discipline_secondaire', blank=True, null=True, to=orm['savoirs.Discipline'])),
63 ('mots_cles', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
64 ('type', self.gf('django.db.models.fields.CharField')(max_length=255)),
65 ('lieu', self.gf('django.db.models.fields.TextField')()),
66 ('debut', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
67 ('fin', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
68 ('pays', self.gf('django.db.models.fields.related.ForeignKey')(related_name='evenements', blank=True, null=True, to=orm['datamaster_modeles.Pays'])),
69 ('fuseau', self.gf('django.db.models.fields.CharField')(max_length=100)),
70 ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
71 ('contact', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
72 ('url', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
73 ('piece_jointe', self.gf('django.db.models.fields.files.FileField')(max_length=100, blank=True)),
74 ))
75 db.send_create_signal('savoirs', ['Evenement'])
76
77 # Adding M2M table for field regions on 'Evenement'
78 db.create_table('savoirs_evenement_regions', (
79 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
80 ('evenement', models.ForeignKey(orm['savoirs.evenement'], null=False)),
81 ('region', models.ForeignKey(orm['datamaster_modeles.region'], null=False))
82 ))
83 db.create_unique('savoirs_evenement_regions', ['evenement_id', 'region_id'])
84
85 # Adding model 'ListSet'
86 db.create_table('savoirs_listset', (
87 ('spec', self.gf('django.db.models.fields.CharField')(max_length=255, primary_key=True)),
88 ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
89 ('server', self.gf('django.db.models.fields.CharField')(max_length=255)),
90 ('validated', self.gf('django.db.models.fields.BooleanField')(default=True)),
91 ))
92 db.send_create_signal('savoirs', ['ListSet'])
93
94 # Adding model 'Record'
95 db.create_table('savoirs_record', (
96 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
97 ('server', self.gf('django.db.models.fields.CharField')(max_length=255)),
98 ('last_update', self.gf('django.db.models.fields.CharField')(max_length=255)),
99 ('last_checksum', self.gf('django.db.models.fields.CharField')(max_length=255)),
100 ('validated', self.gf('django.db.models.fields.BooleanField')(default=True)),
101 ('title', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
102 ('creator', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
103 ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
104 ('modified', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
105 ('identifier', self.gf('django.db.models.fields.CharField')(max_length=255, unique=True, null=True, blank=True)),
106 ('uri', self.gf('django.db.models.fields.CharField')(max_length=255, unique=True, null=True, blank=True)),
107 ('source', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
108 ('contributor', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
109 ('subject', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
110 ('publisher', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
111 ('type', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
112 ('format', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
113 ('language', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
114 ('alt_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
115 ('abstract', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
116 ('creation', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
117 ('issued', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
118 ('isbn', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
119 ('orig_lang', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
120 ))
121 db.send_create_signal('savoirs', ['Record'])
122
123 # Adding M2M table for field listsets on 'Record'
124 db.create_table('savoirs_record_listsets', (
125 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
126 ('record', models.ForeignKey(orm['savoirs.record'], null=False)),
127 ('listset', models.ForeignKey(orm['savoirs.listset'], null=False))
128 ))
129 db.create_unique('savoirs_record_listsets', ['record_id', 'listset_id'])
130
131 # Adding M2M table for field disciplines on 'Record'
132 db.create_table('savoirs_record_disciplines', (
133 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
134 ('record', models.ForeignKey(orm['savoirs.record'], null=False)),
135 ('discipline', models.ForeignKey(orm['savoirs.discipline'], null=False))
136 ))
137 db.create_unique('savoirs_record_disciplines', ['record_id', 'discipline_id'])
138
139 # Adding M2M table for field thematiques on 'Record'
140 db.create_table('savoirs_record_thematiques', (
141 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
142 ('record', models.ForeignKey(orm['savoirs.record'], null=False)),
143 ('thematique', models.ForeignKey(orm['datamaster_modeles.thematique'], null=False))
144 ))
145 db.create_unique('savoirs_record_thematiques', ['record_id', 'thematique_id'])
146
147 # Adding M2M table for field pays on 'Record'
148 db.create_table('savoirs_record_pays', (
149 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
150 ('record', models.ForeignKey(orm['savoirs.record'], null=False)),
151 ('pays', models.ForeignKey(orm['datamaster_modeles.pays'], null=False))
152 ))
153 db.create_unique('savoirs_record_pays', ['record_id', 'pays_id'])
154
155 # Adding M2M table for field regions on 'Record'
156 db.create_table('savoirs_record_regions', (
157 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
158 ('record', models.ForeignKey(orm['savoirs.record'], null=False)),
159 ('region', models.ForeignKey(orm['datamaster_modeles.region'], null=False))
160 ))
161 db.create_unique('savoirs_record_regions', ['record_id', 'region_id'])
162
163 # Adding model 'Serveur'
164 db.create_table('savoirs_serveur', (
165 ('nom', self.gf('django.db.models.fields.CharField')(max_length=255, primary_key=True)),
166 ))
167 db.send_create_signal('savoirs', ['Serveur'])
168
169 # Adding model 'Profile'
170 db.create_table('savoirs_profile', (
171 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
172 ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], unique=True)),
173 ))
174 db.send_create_signal('savoirs', ['Profile'])
175
176 # Adding M2M table for field serveurs on 'Profile'
177 db.create_table('savoirs_profile_serveurs', (
178 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
179 ('profile', models.ForeignKey(orm['savoirs.profile'], null=False)),
180 ('serveur', models.ForeignKey(orm['savoirs.serveur'], null=False))
181 ))
182 db.create_unique('savoirs_profile_serveurs', ['profile_id', 'serveur_id'])
183
184 # Adding model 'HarvestLog'
185 db.create_table('savoirs_harvestlog', (
186 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
187 ('context', self.gf('django.db.models.fields.CharField')(max_length=255)),
188 ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
189 ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
190 ('added', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
191 ('updated', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
192 ('processed', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
193 ('record', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['savoirs.Record'], null=True, blank=True)),
194 ))
195 db.send_create_signal('savoirs', ['HarvestLog'])
196
197
198 def backwards(self, orm):
199
200 # Deleting model 'Discipline'
201 db.delete_table(u'discipline')
202
203 # Deleting model 'SourceActualite'
204 db.delete_table('savoirs_sourceactualite')
205
206 # Deleting model 'Actualite'
207 db.delete_table(u'actualite')
208
209 # Removing M2M table for field disciplines on 'Actualite'
210 db.delete_table('actualite_disciplines')
211
212 # Removing M2M table for field regions on 'Actualite'
213 db.delete_table('actualite_regions')
214
215 # Deleting model 'Evenement'
216 db.delete_table('savoirs_evenement')
217
218 # Removing M2M table for field regions on 'Evenement'
219 db.delete_table('savoirs_evenement_regions')
220
221 # Deleting model 'ListSet'
222 db.delete_table('savoirs_listset')
223
224 # Deleting model 'Record'
225 db.delete_table('savoirs_record')
226
227 # Removing M2M table for field listsets on 'Record'
228 db.delete_table('savoirs_record_listsets')
229
230 # Removing M2M table for field disciplines on 'Record'
231 db.delete_table('savoirs_record_disciplines')
232
233 # Removing M2M table for field thematiques on 'Record'
234 db.delete_table('savoirs_record_thematiques')
235
236 # Removing M2M table for field pays on 'Record'
237 db.delete_table('savoirs_record_pays')
238
239 # Removing M2M table for field regions on 'Record'
240 db.delete_table('savoirs_record_regions')
241
242 # Deleting model 'Serveur'
243 db.delete_table('savoirs_serveur')
244
245 # Deleting model 'Profile'
246 db.delete_table('savoirs_profile')
247
248 # Removing M2M table for field serveurs on 'Profile'
249 db.delete_table('savoirs_profile_serveurs')
250
251 # Deleting model 'HarvestLog'
252 db.delete_table('savoirs_harvestlog')
253
254
255 models = {
256 'auth.group': {
257 'Meta': {'object_name': 'Group'},
258 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
259 'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True'}),
260 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
261 },
262 'auth.permission': {
263 'Meta': {'ordering': "('content_type__app_label', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
264 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
265 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
266 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
268 },
269 'auth.user': {
270 'Meta': {'object_name': 'User'},
271 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
272 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
273 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
274 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
275 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
276 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
277 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
278 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
279 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
280 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
281 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
282 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
283 'username': ('django.db.models.fields.CharField', [], {'max_length': '30', 'unique': 'True'})
284 },
285 'contenttypes.contenttype': {
286 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
287 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
288 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
289 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
290 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
291 },
292 'datamaster_modeles.bureau': {
293 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
294 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
295 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
296 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
297 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
298 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
299 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
300 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
301 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
302 },
303 'datamaster_modeles.implantation': {
304 'Meta': {'ordering': "('nom',)", 'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
305 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
306 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
307 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
308 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True'}),
309 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
310 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
311 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
312 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
313 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
314 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
315 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
316 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
317 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
318 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
319 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True'}),
320 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
321 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
322 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
323 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
324 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
325 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
326 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
327 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
328 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
329 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
330 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
331 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
332 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
333 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
334 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
335 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
336 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
337 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
338 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
339 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
340 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True'}),
341 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
342 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
343 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
344 'modif_date': ('django.db.models.fields.DateField', [], {}),
345 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
346 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
347 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
348 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
349 'remarque': ('django.db.models.fields.TextField', [], {}),
350 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
351 'statut': ('django.db.models.fields.IntegerField', [], {}),
352 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
353 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
354 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
355 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
356 },
357 'datamaster_modeles.pays': {
358 'Meta': {'ordering': "('nom',)", 'object_name': 'Pays', 'db_table': "u'ref_pays'"},
359 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
360 'code': ('django.db.models.fields.CharField', [], {'max_length': '2', 'primary_key': 'True'}),
361 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
362 'code_iso3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'unique': 'True', 'blank': 'True'}),
363 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
364 'id': ('django.db.models.fields.IntegerField', [], {}),
365 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
366 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
367 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
368 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
369 },
370 'datamaster_modeles.region': {
371 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
372 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
373 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
374 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
375 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
376 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
377 },
378 'datamaster_modeles.thematique': {
379 'Meta': {'object_name': 'Thematique', 'db_table': "u'ref_thematique'"},
380 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
381 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
382 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
383 },
384 'savoirs.actualite': {
385 'Meta': {'ordering': "['-date']", 'object_name': 'Actualite', 'db_table': "u'actualite'"},
386 'ancienid': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'db_column': "'ancienId_actualite'", 'blank': 'True'}),
387 'date': ('django.db.models.fields.DateField', [], {'db_column': "'date_actualite'"}),
388 'disciplines': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'actualites'", 'blank': 'True', 'to': "orm['savoirs.Discipline']"}),
389 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True', 'db_column': "'id_actualite'"}),
390 'regions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'actualites'", 'blank': 'True', 'to': "orm['datamaster_modeles.Region']"}),
391 'source': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actualites'", 'blank': 'True', 'null': 'True', 'to': "orm['savoirs.SourceActualite']"}),
392 'texte': ('django.db.models.fields.TextField', [], {'db_column': "'texte_actualite'"}),
393 'titre': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'titre_actualite'"}),
394 'url': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'url_actualite'"}),
395 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'visible_actualite'"})
396 },
397 'savoirs.discipline': {
398 'Meta': {'ordering': "['nom']", 'object_name': 'Discipline', 'db_table': "u'discipline'"},
399 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True', 'db_column': "'id_discipline'"}),
400 'nom': ('django.db.models.fields.CharField', [], {'max_length': '765', 'db_column': "'nom_discipline'"})
401 },
402 'savoirs.evenement': {
403 'Meta': {'ordering': "['-debut']", 'object_name': 'Evenement'},
404 'approuve': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
405 'contact': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
406 'debut': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
407 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
408 'discipline': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'discipline'", 'blank': 'True', 'null': 'True', 'to': "orm['savoirs.Discipline']"}),
409 'discipline_secondaire': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'discipline_secondaire'", 'blank': 'True', 'null': 'True', 'to': "orm['savoirs.Discipline']"}),
410 'fin': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
411 'fuseau': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
412 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
413 'lieu': ('django.db.models.fields.TextField', [], {}),
414 'mots_cles': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
415 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'evenements'", 'blank': 'True', 'null': 'True', 'to': "orm['datamaster_modeles.Pays']"}),
416 'piece_jointe': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'blank': 'True'}),
417 'regions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'evenements'", 'blank': 'True', 'to': "orm['datamaster_modeles.Region']"}),
418 'titre': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
419 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
420 'uid': ('django.db.models.fields.CharField', [], {'default': "'937a6510-1e72-11e0-a2c2-90e6ba758372'", 'max_length': '255'}),
421 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
422 },
423 'savoirs.harvestlog': {
424 'Meta': {'object_name': 'HarvestLog'},
425 'added': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
426 'context': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
427 'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
428 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
429 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
430 'processed': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
431 'record': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['savoirs.Record']", 'null': 'True', 'blank': 'True'}),
432 'updated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
433 },
434 'savoirs.listset': {
435 'Meta': {'object_name': 'ListSet'},
436 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
437 'server': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
438 'spec': ('django.db.models.fields.CharField', [], {'max_length': '255', 'primary_key': 'True'}),
439 'validated': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
440 },
441 'savoirs.profile': {
442 'Meta': {'object_name': 'Profile'},
443 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
444 'serveurs': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['savoirs.Serveur']", 'null': 'True', 'blank': 'True'}),
445 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'unique': 'True'})
446 },
447 'savoirs.record': {
448 'Meta': {'object_name': 'Record'},
449 'abstract': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
450 'alt_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
451 'contributor': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
452 'creation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
453 'creator': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
454 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
455 'disciplines': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['savoirs.Discipline']", 'blank': 'True'}),
456 'format': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
457 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
458 'identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
459 'isbn': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
460 'issued': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
461 'language': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
462 'last_checksum': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
463 'last_update': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
464 'listsets': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['savoirs.ListSet']", 'null': 'True', 'blank': 'True'}),
465 'modified': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
466 'orig_lang': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
467 'pays': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['datamaster_modeles.Pays']", 'blank': 'True'}),
468 'publisher': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
469 'regions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['datamaster_modeles.Region']", 'blank': 'True'}),
470 'server': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
471 'source': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
472 'subject': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
473 'thematiques': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['datamaster_modeles.Thematique']", 'blank': 'True'}),
474 'title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
475 'type': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
476 'uri': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
477 'validated': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
478 },
479 'savoirs.serveur': {
480 'Meta': {'object_name': 'Serveur'},
481 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'primary_key': 'True'})
482 },
483 'savoirs.sourceactualite': {
484 'Meta': {'object_name': 'SourceActualite'},
485 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
486 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
487 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'})
488 }
489 }
490
491 complete_apps = ['savoirs']