Project

General

Profile

Download (48.7 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / agenda / migrations / 0006_fix_periodicities.py @ 85514540

1
# -*- coding: utf-8 -*-
2
from south.v2 import SchemaMigration
3

    
4

    
5
class Migration(SchemaMigration):
6
    no_dry_run = True
7

    
8
    def forwards(self, orm):
9
        orm.Event.objects.filter(recurrence_periodicity=10).update(recurrence_week_rank=-1)
10

    
11
    def backwards(self, orm):
12
        pass
13

    
14
    models = {
15
        u'agenda.event': {
16
            'Meta': {'ordering': "('start_datetime', 'end_datetime', 'title')", 'unique_together': "(('exception_to', 'exception_date'),)", 'object_name': 'Event'},
17
            'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
18
            'create_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
19
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
20
            'description': ('django.db.models.fields.TextField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
21
            'end_datetime': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
22
            'event_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['agenda.EventType']"}),
23
            'exception_date': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
24
            'exception_to': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exceptions'", 'null': 'True', 'to': u"orm['agenda.Event']"}),
25
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
26
            'old_ev_id': ('django.db.models.fields.CharField', [], {'max_length': '8', 'null': 'True', 'blank': 'True'}),
27
            'old_rr_id': ('django.db.models.fields.CharField', [], {'max_length': '8', 'null': 'True', 'blank': 'True'}),
28
            'old_rs_id': ('django.db.models.fields.CharField', [], {'max_length': '8', 'null': 'True', 'blank': 'True'}),
29
            'participants': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': u"orm['personnes.People']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
30
            'recurrence_end_date': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
31
            'recurrence_periodicity': ('django.db.models.fields.PositiveIntegerField', [], {'default': 'None', 'null': 'True', 'db_index': 'True', 'blank': 'True'}),
32
            'recurrence_week_day': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}),
33
            'recurrence_week_offset': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}),
34
            'recurrence_week_parity': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
35
            'recurrence_week_period': ('django.db.models.fields.PositiveIntegerField', [], {'default': 'None', 'null': 'True', 'db_index': 'True', 'blank': 'True'}),
36
            'recurrence_week_rank': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
37
            'room': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Room']", 'null': 'True', 'blank': 'True'}),
38
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': u"orm['ressources.Service']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
39
            'start_datetime': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
40
            'title': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '60', 'blank': 'True'})
41
        },
42
        u'agenda.eventtype': {
43
            'Meta': {'object_name': 'EventType'},
44
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45
            'label': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
46
            'rank': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'})
47
        },
48
        u'agenda.eventwithact': {
49
            'Meta': {'ordering': "('start_datetime', 'end_datetime', 'title')", 'object_name': 'EventWithAct', '_ormbases': [u'agenda.Event']},
50
            'act_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.ActType']"}),
51
            'convocation_sent': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
52
            u'event_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['agenda.Event']", 'unique': 'True', 'primary_key': 'True'}),
53
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"})
54
        },
55
        u'auth.group': {
56
            'Meta': {'object_name': 'Group'},
57
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
58
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
59
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
60
        },
61
        u'auth.permission': {
62
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
63
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
65
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
67
        },
68
        u'auth.user': {
69
            'Meta': {'object_name': 'User'},
70
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
71
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
72
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
73
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
74
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
75
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
76
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
77
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
78
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
79
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
80
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
81
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
82
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
83
        },
84
        u'contenttypes.contenttype': {
85
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
86
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
87
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
88
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
89
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
90
        },
91
        'dossiers.filestate': {
92
            'Meta': {'object_name': 'FileState'},
93
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
94
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
95
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
96
            'date_selected': ('django.db.models.fields.DateTimeField', [], {}),
97
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
98
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
99
            'previous_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.FileState']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
100
            'status': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.Status']"})
101
        },
102
        u'dossiers.patientaddress': {
103
            'Meta': {'object_name': 'PatientAddress'},
104
            'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
105
            'city': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}),
106
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
107
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '276'}),
108
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
109
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110
            'number': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'}),
111
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
112
            'place_of_life': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
113
            'recipient': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
114
            'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
115
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
116
        },
117
        u'dossiers.patientcontact': {
118
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'PatientContact', '_ormbases': [u'personnes.People']},
119
            'addresses': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dossiers.PatientAddress']", 'symmetrical': 'False'}),
120
            'ame': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
121
            'begin_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
122
            'birthdate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
123
            'birthplace': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
124
            'contact_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
125
            'end_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
126
            'health_center': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
127
            'job': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
128
            'management_code': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.ManagementCode']", 'null': 'True', 'blank': 'True'}),
129
            'mobile': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
130
            'old_contact_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
131
            'other_health_center': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
132
            'parente': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.PatientRelatedLink']", 'null': 'True', 'blank': 'True'}),
133
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
134
            'social_security_id': ('django.db.models.fields.CharField', [], {'max_length': '13', 'null': 'True', 'blank': 'True'}),
135
            'thirdparty_payer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
136
            'twinning_rank': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
137
            'type_of_contract': ('django.db.models.fields.CharField', [], {'max_length': '2', 'null': 'True', 'blank': 'True'})
138
        },
139
        u'dossiers.patientrecord': {
140
            'Meta': {'object_name': 'PatientRecord', '_ormbases': [u'dossiers.PatientContact']},
141
            'advicegiver': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AdviceGiver']", 'null': 'True', 'blank': 'True'}),
142
            'analysemotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AnalyseMotive']", 'null': 'True', 'blank': 'True'}),
143
            'apgar_score_one': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
144
            'apgar_score_two': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
145
            'chest_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
146
            'child_custody': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalCustodyType']", 'null': 'True', 'blank': 'True'}),
147
            'comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
148
            'confidential': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
149
            'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'contact_of'", 'symmetrical': 'False', 'to': u"orm['dossiers.PatientContact']"}),
150
            'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': u"orm['personnes.Worker']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
151
            'cranium_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
152
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
153
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
154
            'deficiency_auditory': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
155
            'deficiency_autism_and_other_ted': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
156
            'deficiency_behavioral_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
157
            'deficiency_brain_damage': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
158
            'deficiency_in_diagnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
159
            'deficiency_intellectual': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
160
            'deficiency_learning_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
161
            'deficiency_mental_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
162
            'deficiency_metabolic_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
163
            'deficiency_motor': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
164
            'deficiency_other_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
165
            'deficiency_polyhandicap': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
166
            'deficiency_visual': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
167
            'externaldoctor': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalTherapist']", 'null': 'True', 'blank': 'True'}),
168
            'externalintervener': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalWorker']", 'null': 'True', 'blank': 'True'}),
169
            'family_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
170
            'family_situation': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilySituationType']", 'null': 'True', 'blank': 'True'}),
171
            'familymotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilyMotive']", 'null': 'True', 'blank': 'True'}),
172
            'job_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
173
            'job_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
174
            'last_state': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['dossiers.FileState']"}),
175
            'mdph_requests': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_requests_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHRequest']"}),
176
            'mdph_responses': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_responses_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHResponse']"}),
177
            'mises_1': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises1'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
178
            'mises_2': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises2'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
179
            'mises_3': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises3'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
180
            'nationality': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}),
181
            'nb_children_family': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
182
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
183
            'old_old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
184
            'outmotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutMotive']", 'null': 'True', 'blank': 'True'}),
185
            'outto': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutTo']", 'null': 'True', 'blank': 'True'}),
186
            'paper_id': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}),
187
            'parental_authority': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalAuthorityType']", 'null': 'True', 'blank': 'True'}),
188
            u'patientcontact_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dossiers.PatientContact']", 'unique': 'True', 'primary_key': 'True'}),
189
            'pause': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
190
            'pause_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
191
            'policyholder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['dossiers.PatientContact']"}),
192
            'pregnancy_term': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
193
            'provenance': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.Provenance']", 'null': 'True', 'blank': 'True'}),
194
            'provenanceplace': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ProvenancePlace']", 'null': 'True', 'blank': 'True'}),
195
            'rm_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
196
            'rm_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
197
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
198
            'sibship_place': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
199
            'size': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '1', 'blank': 'True'}),
200
            'socialisation_durations': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'socialisation_duration_of'", 'symmetrical': 'False', 'to': u"orm['ressources.SocialisationDuration']"}),
201
            'transportcompany': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportCompany']", 'null': 'True', 'blank': 'True'}),
202
            'transporttype': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportType']", 'null': 'True', 'blank': 'True'}),
203
            'weight': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
204
        },
205
        'dossiers.status': {
206
            'Meta': {'object_name': 'Status'},
207
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
208
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
209
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'}),
210
            'type': ('django.db.models.fields.CharField', [], {'max_length': '80'})
211
        },
212
        u'personnes.externaltherapist': {
213
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'ExternalTherapist', '_ormbases': [u'personnes.People']},
214
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
215
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
216
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
217
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
218
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
219
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
220
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
221
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
222
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
223
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
224
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
225
        },
226
        u'personnes.externalworker': {
227
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'ExternalWorker', '_ormbases': [u'personnes.People']},
228
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
229
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
230
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
231
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
232
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
233
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
234
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
235
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
236
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
237
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
238
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
239
        },
240
        u'personnes.people': {
241
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'People'},
242
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}),
243
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
244
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
245
            'gender': ('django.db.models.fields.IntegerField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
246
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
247
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
248
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
249
        },
250
        u'personnes.worker': {
251
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'Worker', '_ormbases': [u'personnes.People']},
252
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
253
            'initials': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '5', 'blank': 'True'}),
254
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
255
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
256
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
257
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
258
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
259
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
260
            'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.WorkerType']"})
261
        },
262
        u'ressources.acttype': {
263
            'Meta': {'ordering': "('-display_first', 'name')", 'object_name': 'ActType'},
264
            'billable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
265
            'display_first': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
266
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
268
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
269
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'})
270
        },
271
        u'ressources.advicegiver': {
272
            'Meta': {'object_name': 'AdviceGiver'},
273
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
274
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
275
        },
276
        u'ressources.analysemotive': {
277
            'Meta': {'object_name': 'AnalyseMotive'},
278
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
279
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
280
        },
281
        u'ressources.codecftmea': {
282
            'Meta': {'ordering': "['ordering_code']", 'object_name': 'CodeCFTMEA'},
283
            'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}),
284
            'code': ('django.db.models.fields.IntegerField', [], {}),
285
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
286
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
287
            'ordering_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
288
        },
289
        u'ressources.familymotive': {
290
            'Meta': {'object_name': 'FamilyMotive'},
291
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
292
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
293
        },
294
        u'ressources.familysituationtype': {
295
            'Meta': {'object_name': 'FamilySituationType'},
296
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
297
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
298
        },
299
        u'ressources.healthcenter': {
300
            'Meta': {'object_name': 'HealthCenter'},
301
            'abbreviation': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
302
            'accounting_number': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
303
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
304
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
305
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
306
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
307
            'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
308
            'computer_center_code': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
309
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
310
            'dest_organism': ('django.db.models.fields.CharField', [], {'max_length': '8'}),
311
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
312
            'fax': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
313
            'hc_invoice': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
314
            'health_fund': ('django.db.models.fields.CharField', [], {'max_length': '3'}),
315
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
316
            'large_regime': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.LargeRegime']"}),
317
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
318
            'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
319
            'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '8'})
320
        },
321
        u'ressources.job': {
322
            'Meta': {'object_name': 'Job'},
323
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
324
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
325
        },
326
        u'ressources.largeregime': {
327
            'Meta': {'object_name': 'LargeRegime'},
328
            'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
329
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
330
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
331
        },
332
        u'ressources.managementcode': {
333
            'Meta': {'object_name': 'ManagementCode'},
334
            'code': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
335
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
336
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
337
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
338
        },
339
        u'ressources.maritalstatustype': {
340
            'Meta': {'object_name': 'MaritalStatusType'},
341
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
342
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
343
        },
344
        u'ressources.mdph': {
345
            'Meta': {'object_name': 'MDPH'},
346
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
347
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
348
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
349
            'department': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
350
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
351
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
352
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
353
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
354
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
355
            'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
356
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
357
        },
358
        u'ressources.mdphrequest': {
359
            'Meta': {'object_name': 'MDPHRequest'},
360
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
361
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
362
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
363
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
364
            'start_date': ('django.db.models.fields.DateField', [], {})
365
        },
366
        u'ressources.mdphresponse': {
367
            'Meta': {'object_name': 'MDPHResponse'},
368
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
369
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
370
            'end_date': ('django.db.models.fields.DateField', [], {}),
371
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
372
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
373
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
374
            'rate': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
375
            'start_date': ('django.db.models.fields.DateField', [], {}),
376
            'type_aide': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'})
377
        },
378
        u'ressources.office': {
379
            'Meta': {'object_name': 'Office'},
380
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
381
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
382
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
383
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
384
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
385
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
386
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
387
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
388
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
389
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
390
        },
391
        u'ressources.outmotive': {
392
            'Meta': {'object_name': 'OutMotive'},
393
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
394
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
395
        },
396
        u'ressources.outto': {
397
            'Meta': {'object_name': 'OutTo'},
398
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
399
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
400
        },
401
        u'ressources.parentalauthoritytype': {
402
            'Meta': {'object_name': 'ParentalAuthorityType'},
403
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
404
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
405
        },
406
        u'ressources.parentalcustodytype': {
407
            'Meta': {'object_name': 'ParentalCustodyType'},
408
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
409
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
410
        },
411
        u'ressources.patientrelatedlink': {
412
            'Meta': {'object_name': 'PatientRelatedLink'},
413
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
414
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
415
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
416
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
417
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
418
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
419
        },
420
        u'ressources.provenance': {
421
            'Meta': {'object_name': 'Provenance'},
422
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
423
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
424
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
425
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
426
        },
427
        u'ressources.provenanceplace': {
428
            'Meta': {'object_name': 'ProvenancePlace'},
429
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
430
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
431
        },
432
        u'ressources.room': {
433
            'Meta': {'object_name': 'Room'},
434
            'etablissement': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Office']"}),
435
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
436
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
437
        },
438
        u'ressources.school': {
439
            'Meta': {'object_name': 'School'},
440
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
441
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
442
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
443
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
444
            'director_name': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '70', 'null': 'True', 'blank': 'True'}),
445
            'email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}),
446
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
447
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
448
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
449
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
450
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
451
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
452
            'private': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
453
            'school_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolType']"}),
454
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
455
        },
456
        u'ressources.schoollevel': {
457
            'Meta': {'object_name': 'SchoolLevel'},
458
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
459
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
460
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
461
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
462
        },
463
        u'ressources.schooltype': {
464
            'Meta': {'object_name': 'SchoolType'},
465
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
466
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
467
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'})
468
        },
469
        u'ressources.service': {
470
            'Meta': {'object_name': 'Service'},
471
            'description': ('django.db.models.fields.TextField', [], {}),
472
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
473
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
474
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
475
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
476
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
477
            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
478
        },
479
        u'ressources.socialisationduration': {
480
            'Meta': {'object_name': 'SocialisationDuration'},
481
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
482
            'contact': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
483
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
484
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
485
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
486
            'level': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolLevel']", 'null': 'True', 'blank': 'True'}),
487
            'redoublement': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
488
            'school': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.School']", 'null': 'True', 'blank': 'True'}),
489
            'start_date': ('django.db.models.fields.DateField', [], {})
490
        },
491
        u'ressources.transportcompany': {
492
            'Meta': {'object_name': 'TransportCompany'},
493
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
494
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
495
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
496
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
497
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
498
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
499
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
500
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
501
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
502
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
503
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
504
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
505
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
506
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
507
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
508
        },
509
        u'ressources.transporttype': {
510
            'Meta': {'object_name': 'TransportType'},
511
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
512
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
513
        },
514
        u'ressources.workertype': {
515
            'Meta': {'object_name': 'WorkerType'},
516
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
517
            'intervene': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
518
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
519
        }
520
    }
521

    
522
    complete_apps = ['agenda']
(6-6/7)