Project

General

Profile

« Previous | Next » 

Revision 1c311319

Added by Mikaël Ates over 10 years ago

dossiers: add migration script for protection state models.

View differences:

calebasse/dossiers/migrations/0014_auto__add_protectionstate__add_protectionstatus.py
1
# -*- coding: 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

  
8
class Migration(SchemaMigration):
9

  
10
    def forwards(self, orm):
11
        # Adding model 'ProtectionState'
12
        db.create_table(u'dossiers_protectionstate', (
13
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14
            ('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])),
15
            ('status', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.ProtectionStatus'])),
16
            ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
17
            ('start_date', self.gf('django.db.models.fields.DateTimeField')()),
18
            ('end_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
19
            ('comment', self.gf('django.db.models.fields.TextField')(max_length=3000, null=True, blank=True)),
20
        ))
21
        db.send_create_signal('dossiers', ['ProtectionState'])
22

  
23
        # Adding model 'ProtectionStatus'
24
        db.create_table(u'dossiers_protectionstatus', (
25
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
26
            ('name', self.gf('django.db.models.fields.CharField')(max_length=150)),
27
        ))
28
        db.send_create_signal('dossiers', ['ProtectionStatus'])
29

  
30

  
31
    def backwards(self, orm):
32
        # Deleting model 'ProtectionState'
33
        db.delete_table(u'dossiers_protectionstate')
34

  
35
        # Deleting model 'ProtectionStatus'
36
        db.delete_table(u'dossiers_protectionstatus')
37

  
38

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

  
524
    complete_apps = ['dossiers']

Also available in: Unified diff