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