Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / migrations / 0023_auto__add_usersetting__add_unique_usersetting_user_setting.py @ c7c0ec58

History | View | Annotate | Download (23.3 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 model 'UserSetting'
12
        db.create_table('im_usersetting', (
13
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['im.AstakosUser'])),
15
            ('setting', self.gf('django.db.models.fields.CharField')(max_length=255)),
16
            ('value', self.gf('django.db.models.fields.IntegerField')()),
17
        ))
18
        db.send_create_signal('im', ['UserSetting'])
19

    
20
        # Adding unique constraint on 'UserSetting', fields ['user', 'setting']
21
        db.create_unique('im_usersetting', ['user_id', 'setting'])
22

    
23

    
24
    def backwards(self, orm):
25
        
26
        # Removing unique constraint on 'UserSetting', fields ['user', 'setting']
27
        db.delete_unique('im_usersetting', ['user_id', 'setting'])
28

    
29
        # Deleting model 'UserSetting'
30
        db.delete_table('im_usersetting')
31

    
32

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

    
281
    complete_apps = ['im']