Project

General

Profile

« Previous | Next » 

Revision c5b23517

Added by Mikaël Ates over 10 years ago

dossiers/ressources: add migration scripts for provenance place model and field.

View differences:

calebasse/dossiers/migrations/0015_auto__add_field_patientrecord_provenanceplace.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 field 'PatientRecord.provenanceplace'
12
        db.add_column(u'dossiers_patientrecord', 'provenanceplace',
13
                      self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.ProvenancePlace'], null=True, blank=True),
14
                      keep_default=False)
15

  
16

  
17
    def backwards(self, orm):
18
        # Deleting field 'PatientRecord.provenanceplace'
19
        db.delete_column(u'dossiers_patientrecord', 'provenanceplace_id')
20

  
21

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

  
513
    complete_apps = ['dossiers']
calebasse/ressources/migrations/0005_auto__add_provenanceplace.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 'ProvenancePlace'
12
        db.create_table(u'ressources_provenanceplace', (
13
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14
            ('name', self.gf('django.db.models.fields.CharField')(max_length=150)),
15
        ))
16
        db.send_create_signal(u'ressources', ['ProvenancePlace'])
17

  
18

  
19
    def backwards(self, orm):
20
        # Deleting model 'ProvenancePlace'
21
        db.delete_table(u'ressources_provenanceplace')
22

  
23

  
24
    models = {
25
        u'ressources.acttype': {
26
            'Meta': {'ordering': "('-display_first', 'name')", 'object_name': 'ActType'},
27
            'billable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
28
            'display_first': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
29
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
30
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
31
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
32
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'})
33
        },
34
        u'ressources.advicegiver': {
35
            'Meta': {'object_name': 'AdviceGiver'},
36
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
37
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
38
        },
39
        u'ressources.analysemotive': {
40
            'Meta': {'object_name': 'AnalyseMotive'},
41
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
43
        },
44
        u'ressources.codecftmea': {
45
            'Meta': {'ordering': "['ordering_code']", 'object_name': 'CodeCFTMEA'},
46
            'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}),
47
            'code': ('django.db.models.fields.IntegerField', [], {}),
48
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
50
            'ordering_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
51
        },
52
        u'ressources.familymotive': {
53
            'Meta': {'object_name': 'FamilyMotive'},
54
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
56
        },
57
        u'ressources.familysituationtype': {
58
            'Meta': {'object_name': 'FamilySituationType'},
59
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
60
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
61
        },
62
        u'ressources.healthcenter': {
63
            'Meta': {'object_name': 'HealthCenter'},
64
            'abbreviation': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
65
            'accounting_number': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
66
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
67
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
68
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
69
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
70
            'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
71
            'computer_center_code': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
72
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
73
            'dest_organism': ('django.db.models.fields.CharField', [], {'max_length': '8'}),
74
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
75
            'fax': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
76
            'hc_invoice': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
77
            'health_fund': ('django.db.models.fields.CharField', [], {'max_length': '3'}),
78
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79
            'large_regime': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.LargeRegime']"}),
80
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
81
            'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
82
            'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '8'})
83
        },
84
        u'ressources.holidaytype': {
85
            'Meta': {'object_name': 'HolidayType'},
86
            'for_group': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
87
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
88
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
89
        },
90
        u'ressources.inscriptionmotive': {
91
            'Meta': {'object_name': 'InscriptionMotive'},
92
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
93
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
94
        },
95
        u'ressources.job': {
96
            'Meta': {'object_name': 'Job'},
97
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
98
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
99
        },
100
        u'ressources.largeregime': {
101
            'Meta': {'object_name': 'LargeRegime'},
102
            'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
103
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
104
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
105
        },
106
        u'ressources.managementcode': {
107
            'Meta': {'object_name': 'ManagementCode'},
108
            'code': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
109
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
111
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
112
        },
113
        u'ressources.maritalstatustype': {
114
            'Meta': {'object_name': 'MaritalStatusType'},
115
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
117
        },
118
        u'ressources.mdph': {
119
            'Meta': {'object_name': 'MDPH'},
120
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
121
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
122
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
123
            'department': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
124
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
125
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
126
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
127
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
128
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
129
            'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
130
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
131
        },
132
        u'ressources.mdphrequest': {
133
            'Meta': {'object_name': 'MDPHRequest'},
134
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
135
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
136
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
137
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
138
            'start_date': ('django.db.models.fields.DateField', [], {})
139
        },
140
        u'ressources.mdphresponse': {
141
            'Meta': {'object_name': 'MDPHResponse'},
142
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
143
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
144
            'end_date': ('django.db.models.fields.DateField', [], {}),
145
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
147
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
148
            'rate': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
149
            'start_date': ('django.db.models.fields.DateField', [], {}),
150
            'type_aide': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'})
151
        },
152
        u'ressources.nationality': {
153
            'Meta': {'object_name': 'Nationality'},
154
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
155
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
156
        },
157
        u'ressources.office': {
158
            'Meta': {'object_name': 'Office'},
159
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
160
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
161
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
162
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
163
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
164
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
165
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
166
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
167
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
168
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
169
        },
170
        u'ressources.outmotive': {
171
            'Meta': {'object_name': 'OutMotive'},
172
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
173
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
174
        },
175
        u'ressources.outto': {
176
            'Meta': {'object_name': 'OutTo'},
177
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
178
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
179
        },
180
        u'ressources.parentalauthoritytype': {
181
            'Meta': {'object_name': 'ParentalAuthorityType'},
182
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
183
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
184
        },
185
        u'ressources.parentalcustodytype': {
186
            'Meta': {'object_name': 'ParentalCustodyType'},
187
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
188
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
189
        },
190
        u'ressources.patientrelatedlink': {
191
            'Meta': {'object_name': 'PatientRelatedLink'},
192
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
193
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
194
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
195
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
196
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
197
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
198
        },
199
        u'ressources.priceperact': {
200
            'Meta': {'object_name': 'PricePerAct'},
201
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
202
            'price': ('django.db.models.fields.DecimalField', [], {'max_digits': '5', 'decimal_places': '2'}),
203
            'start_date': ('django.db.models.fields.DateField', [], {})
204
        },
205
        u'ressources.provenance': {
206
            'Meta': {'object_name': 'Provenance'},
207
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
208
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
209
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
210
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
211
        },
212
        u'ressources.provenanceplace': {
213
            'Meta': {'object_name': 'ProvenancePlace'},
214
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
215
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
216
        },
217
        u'ressources.room': {
218
            'Meta': {'object_name': 'Room'},
219
            'etablissement': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Office']"}),
220
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
221
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
222
        },
223
        u'ressources.school': {
224
            'Meta': {'object_name': 'School'},
225
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
226
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
227
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
228
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
229
            'director_name': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '70', 'null': 'True', 'blank': 'True'}),
230
            'email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}),
231
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
232
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
233
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
234
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
235
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
236
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
237
            'school_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolType']"}),
238
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
239
        },
240
        u'ressources.schoollevel': {
241
            'Meta': {'object_name': 'SchoolLevel'},
242
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
243
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
244
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
245
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
246
        },
247
        u'ressources.schoolteacherrole': {
248
            'Meta': {'object_name': 'SchoolTeacherRole'},
249
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
250
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
251
        },
252
        u'ressources.schooltype': {
253
            'Meta': {'object_name': 'SchoolType'},
254
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
255
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
256
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'})
257
        },
258
        u'ressources.service': {
259
            'Meta': {'object_name': 'Service'},
260
            'description': ('django.db.models.fields.TextField', [], {}),
261
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
262
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
263
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
264
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
265
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
266
            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
267
        },
268
        u'ressources.sessiontype': {
269
            'Meta': {'object_name': 'SessionType'},
270
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
271
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
272
        },
273
        u'ressources.socialisationduration': {
274
            'Meta': {'object_name': 'SocialisationDuration'},
275
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
276
            'contact': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
277
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
278
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
279
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
280
            'level': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolLevel']", 'null': 'True', 'blank': 'True'}),
281
            'redoublement': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
282
            'school': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.School']", 'null': 'True', 'blank': 'True'}),
283
            'start_date': ('django.db.models.fields.DateField', [], {})
284
        },
285
        u'ressources.transportcompany': {
286
            'Meta': {'object_name': 'TransportCompany'},
287
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
288
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
289
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
290
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
291
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
292
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
293
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
294
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
295
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
296
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
297
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
298
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
299
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
300
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
301
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
302
        },
303
        u'ressources.transporttype': {
304
            'Meta': {'object_name': 'TransportType'},
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.uninvoicablecode': {
309
            'Meta': {'object_name': 'UninvoicableCode'},
310
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
311
        },
312
        u'ressources.workertype': {
313
            'Meta': {'object_name': 'WorkerType'},
314
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
315
            'intervene': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
316
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
317
        }
318
    }
319

  
320
    complete_apps = ['ressources']

Also available in: Unified diff