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