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