Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / migrations / 0017_auto__add_field_resource_uplimit__chg_field_astakosuserquota_capacity_.py @ b052f360

History | View | Annotate | Download (23.4 kB)

1
# encoding: utf-8
2
import datetime
3
from south.db import db
4
from south.v2 import SchemaMigration
5
from django.db import models
6

    
7
class Migration(SchemaMigration):
8

    
9
    def forwards(self, orm):
10
        
11
        # Adding field 'Resource.uplimit'
12
        db.add_column('im_resource', 'uplimit', self.gf('snf_django.lib.db.fields.IntDecimalField')(default=0, max_digits=38, decimal_places=0), keep_default=False)
13

    
14
        # Changing field 'AstakosUserQuota.capacity'
15
        db.alter_column('im_astakosuserquota', 'capacity', self.gf('snf_django.lib.db.fields.IntDecimalField')(default=0, max_digits=38, decimal_places=0))
16

    
17
        # Changing field 'AstakosUserQuota.import_limit'
18
        db.alter_column('im_astakosuserquota', 'import_limit', self.gf('snf_django.lib.db.fields.IntDecimalField')(max_digits=38, decimal_places=0))
19

    
20
        # Changing field 'AstakosUserQuota.export_limit'
21
        db.alter_column('im_astakosuserquota', 'export_limit', self.gf('snf_django.lib.db.fields.IntDecimalField')(max_digits=38, decimal_places=0))
22

    
23
        # Changing field 'AstakosUserQuota.quantity'
24
        db.alter_column('im_astakosuserquota', 'quantity', self.gf('snf_django.lib.db.fields.IntDecimalField')(max_digits=38, decimal_places=0))
25

    
26

    
27
    def backwards(self, orm):
28
        
29
        # Deleting field 'Resource.uplimit'
30
        db.delete_column('im_resource', 'uplimit')
31

    
32
        # Changing field 'AstakosUserQuota.capacity'
33
        db.alter_column('im_astakosuserquota', 'capacity', self.gf('django.db.models.fields.BigIntegerField')(null=True))
34

    
35
        # Changing field 'AstakosUserQuota.import_limit'
36
        db.alter_column('im_astakosuserquota', 'import_limit', self.gf('django.db.models.fields.BigIntegerField')(null=True))
37

    
38
        # Changing field 'AstakosUserQuota.export_limit'
39
        db.alter_column('im_astakosuserquota', 'export_limit', self.gf('django.db.models.fields.BigIntegerField')(null=True))
40

    
41
        # Changing field 'AstakosUserQuota.quantity'
42
        db.alter_column('im_astakosuserquota', 'quantity', self.gf('django.db.models.fields.BigIntegerField')(null=True))
43

    
44

    
45
    models = {
46
        'auth.group': {
47
            'Meta': {'object_name': 'Group'},
48
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
50
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
51
        },
52
        'auth.permission': {
53
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
54
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
55
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
56
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
57
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
58
        },
59
        'auth.user': {
60
            'Meta': {'object_name': 'User'},
61
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
62
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
63
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
64
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
65
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
67
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
68
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
69
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
70
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
71
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
72
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
73
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
74
        },
75
        'contenttypes.contenttype': {
76
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
77
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
78
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
80
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
81
        },
82
        'im.additionalmail': {
83
            'Meta': {'object_name': 'AdditionalMail'},
84
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
85
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
86
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"})
87
        },
88
        'im.approvalterms': {
89
            'Meta': {'object_name': 'ApprovalTerms'},
90
            'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 1, 14, 15, 20, 45, 481812)', 'db_index': 'True'}),
91
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
92
            'location': ('django.db.models.fields.CharField', [], {'max_length': '255'})
93
        },
94
        'im.astakosuser': {
95
            'Meta': {'object_name': 'AstakosUser', '_ormbases': ['auth.User']},
96
            'activation_sent': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
97
            'affiliation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
98
            'auth_token': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}),
99
            'auth_token_created': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
100
            'auth_token_expires': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
101
            'date_signed_terms': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
102
            'disturbed_quota': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
103
            'email_verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
104
            'has_credits': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
105
            'has_signed_terms': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
106
            'invitations': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
107
            'is_verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
108
            'level': ('django.db.models.fields.IntegerField', [], {'default': '4'}),
109
            'policy': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.Resource']", 'null': 'True', 'through': "orm['im.AstakosUserQuota']", 'symmetrical': 'False'}),
110
            'provider': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
111
            'third_party_identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
112
            'updated': ('django.db.models.fields.DateTimeField', [], {}),
113
            'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
114
            'uuid': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True'})
115
        },
116
        'im.astakosuserauthprovider': {
117
            'Meta': {'ordering': "('module', 'created')", 'unique_together': "(('identifier', 'module', 'user'),)", 'object_name': 'AstakosUserAuthProvider'},
118
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
119
            'affiliation': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
120
            'auth_backend': ('django.db.models.fields.CharField', [], {'default': "'astakos'", 'max_length': '255'}),
121
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
122
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
123
            'identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
124
            'info_data': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
125
            'module': ('django.db.models.fields.CharField', [], {'default': "'local'", 'max_length': '255'}),
126
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_providers'", 'to': "orm['im.AstakosUser']"})
127
        },
128
        'im.astakosuserquota': {
129
            'Meta': {'unique_together': "(('resource', 'user'),)", 'object_name': 'AstakosUserQuota'},
130
            'capacity': ('snf_django.lib.db.fields.IntDecimalField', [], {'max_digits': '38', 'decimal_places': '0'}),
131
            'export_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
132
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
133
            'import_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
134
            'quantity': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '0', 'max_digits': '38', 'decimal_places': '0'}),
135
            'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Resource']"}),
136
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"})
137
        },
138
        'im.chain': {
139
            'Meta': {'object_name': 'Chain'},
140
            'chain': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
141
        },
142
        'im.emailchange': {
143
            'Meta': {'object_name': 'EmailChange'},
144
            'activation_key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40', 'db_index': 'True'}),
145
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146
            'new_email_address': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
147
            'requested_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 1, 14, 15, 20, 45, 482512)'}),
148
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'emailchanges'", 'unique': 'True', 'to': "orm['im.AstakosUser']"})
149
        },
150
        'im.invitation': {
151
            'Meta': {'object_name': 'Invitation'},
152
            'code': ('django.db.models.fields.BigIntegerField', [], {'db_index': 'True'}),
153
            'consumed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
154
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
155
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156
            'inviter': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'invitations_sent'", 'null': 'True', 'to': "orm['im.AstakosUser']"}),
157
            'is_consumed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
158
            'realname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
159
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
160
        },
161
        'im.pendingthirdpartyuser': {
162
            'Meta': {'unique_together': "(('provider', 'third_party_identifier'),)", 'object_name': 'PendingThirdPartyUser'},
163
            'affiliation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
164
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
165
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
166
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
167
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168
            'info': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
169
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
170
            'provider': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
171
            'third_party_identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
172
            'token': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
173
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
174
        },
175
        'im.project': {
176
            'Meta': {'object_name': 'Project'},
177
            'application': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'project'", 'unique': 'True', 'to': "orm['im.ProjectApplication']"}),
178
            'creation_date': ('django.db.models.fields.DateTimeField', [], {}),
179
            'deactivation_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
180
            'deactivation_reason': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
181
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
182
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'db_index': 'True'}),
183
            'is_modified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
184
            'last_approval_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
185
            'members': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.AstakosUser']", 'through': "orm['im.ProjectMembership']", 'symmetrical': 'False'}),
186
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80', 'db_index': 'True'}),
187
            'state': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_index': 'True'})
188
        },
189
        'im.projectapplication': {
190
            'Meta': {'unique_together': "(('chain', 'id'),)", 'object_name': 'ProjectApplication'},
191
            'applicant': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projects_applied'", 'to': "orm['im.AstakosUser']"}),
192
            'chain': ('django.db.models.fields.IntegerField', [], {}),
193
            'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
194
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
195
            'end_date': ('django.db.models.fields.DateTimeField', [], {}),
196
            'homepage': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True'}),
197
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
198
            'issue_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
199
            'limit_on_members_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
200
            'member_join_policy': ('django.db.models.fields.IntegerField', [], {}),
201
            'member_leave_policy': ('django.db.models.fields.IntegerField', [], {}),
202
            'name': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
203
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projects_owned'", 'to': "orm['im.AstakosUser']"}),
204
            'precursor_application': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['im.ProjectApplication']", 'unique': 'True', 'null': 'True', 'blank': 'True'}),
205
            'resource_grants': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['im.Resource']", 'null': 'True', 'through': "orm['im.ProjectResourceGrant']", 'blank': 'True'}),
206
            'start_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
207
            'state': ('django.db.models.fields.IntegerField', [], {'default': '0'})
208
        },
209
        'im.projectmembership': {
210
            'Meta': {'unique_together': "(('person', 'project'),)", 'object_name': 'ProjectMembership'},
211
            'acceptance_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'db_index': 'True'}),
212
            'application': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'memberships'", 'null': 'True', 'to': "orm['im.ProjectApplication']"}),
213
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
214
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
215
            'is_pending': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
216
            'leave_request_date': ('django.db.models.fields.DateField', [], {'null': 'True'}),
217
            'pending_application': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_memebrships'", 'null': 'True', 'to': "orm['im.ProjectApplication']"}),
218
            'pending_serial': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'db_index': 'True'}),
219
            'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"}),
220
            'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Project']"}),
221
            'request_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2013, 1, 14, 15, 20, 45, 486499)'}),
222
            'state': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'})
223
        },
224
        'im.projectmembershiphistory': {
225
            'Meta': {'object_name': 'ProjectMembershipHistory'},
226
            'date': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime.now'}),
227
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
228
            'person': ('django.db.models.fields.BigIntegerField', [], {}),
229
            'project': ('django.db.models.fields.BigIntegerField', [], {}),
230
            'reason': ('django.db.models.fields.IntegerField', [], {}),
231
            'serial': ('django.db.models.fields.BigIntegerField', [], {})
232
        },
233
        'im.projectresourcegrant': {
234
            'Meta': {'unique_together': "(('resource', 'project_application'),)", 'object_name': 'ProjectResourceGrant'},
235
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
236
            'member_capacity': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
237
            'member_export_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
238
            'member_import_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
239
            'project_application': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.ProjectApplication']", 'null': 'True'}),
240
            'project_capacity': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
241
            'project_export_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
242
            'project_import_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
243
            'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Resource']"})
244
        },
245
        'im.resource': {
246
            'Meta': {'unique_together': "(('service', 'name'),)", 'object_name': 'Resource'},
247
            'desc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
248
            'group': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
249
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
250
            'meta': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.ResourceMetadata']", 'symmetrical': 'False'}),
251
            'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
252
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Service']"}),
253
            'unit': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
254
            'uplimit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '0', 'max_digits': '38', 'decimal_places': '0'})
255
        },
256
        'im.resourcemetadata': {
257
            'Meta': {'object_name': 'ResourceMetadata'},
258
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
259
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
260
            'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
261
        },
262
        'im.serial': {
263
            'Meta': {'object_name': 'Serial'},
264
            'serial': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
265
        },
266
        'im.service': {
267
            'Meta': {'ordering': "('order',)", 'object_name': 'Service'},
268
            'auth_token': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}),
269
            'auth_token_created': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
270
            'auth_token_expires': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
271
            'icon': ('django.db.models.fields.FilePathField', [], {'max_length': '100', 'blank': 'True'}),
272
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
273
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
274
            'order': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
275
            'url': ('django.db.models.fields.FilePathField', [], {'max_length': '100'})
276
        },
277
        'im.sessioncatalog': {
278
            'Meta': {'object_name': 'SessionCatalog'},
279
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
280
            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
281
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'sessions'", 'null': 'True', 'to': "orm['im.AstakosUser']"})
282
        }
283
    }
284

    
285
    complete_apps = ['im']