Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / quotaholder_app / migrations / 0010_non_accepted.py @ 07239400

History | View | Annotate | Download (28.1 kB)

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

    
7
class Migration(DataMigration):
8

    
9
    depends_on = (
10
        ("im", "0058_moderation_fix"),
11
        )
12

    
13
    def forwards(self, orm):
14
        pass
15

    
16
    def backwards(self, orm):
17
        "Write your backwards methods here."
18

    
19
    models = {
20
        'auth.group': {
21
            'Meta': {'object_name': 'Group'},
22
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
23
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
24
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
25
        },
26
        'auth.permission': {
27
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
28
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
29
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
30
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
31
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
32
        },
33
        'auth.user': {
34
            'Meta': {'object_name': 'User'},
35
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
36
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
37
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
38
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
39
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
40
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
41
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
42
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
43
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
44
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
45
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
46
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
47
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
48
        },
49
        'contenttypes.contenttype': {
50
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
51
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
52
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
55
        },
56
        'im.additionalmail': {
57
            'Meta': {'object_name': 'AdditionalMail'},
58
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
59
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
60
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"})
61
        },
62
        'im.approvalterms': {
63
            'Meta': {'object_name': 'ApprovalTerms'},
64
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
65
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66
            'location': ('django.db.models.fields.CharField', [], {'max_length': '255'})
67
        },
68
        'im.astakosuser': {
69
            'Meta': {'object_name': 'AstakosUser', '_ormbases': ['auth.User']},
70
            'accepted_email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}),
71
            'accepted_policy': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
72
            'activation_sent': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
73
            'affiliation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
74
            'auth_token': ('django.db.models.fields.CharField', [], {'max_length': '64', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
75
            'auth_token_created': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
76
            'auth_token_expires': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
77
            'date_signed_terms': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
78
            'deactivated_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
79
            'deactivated_reason': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
80
            'disturbed_quota': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
81
            'email_verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
82
            'has_credits': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
83
            'has_signed_terms': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
84
            'invitations': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
85
            'is_rejected': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
86
            'is_verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
87
            'level': ('django.db.models.fields.IntegerField', [], {'default': '4'}),
88
            'moderated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
89
            'moderated_at': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
90
            'moderated_data': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
91
            'policy': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.Resource']", 'null': 'True', 'through': "orm['im.AstakosUserQuota']", 'symmetrical': 'False'}),
92
            'rejected_reason': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
93
            'updated': ('django.db.models.fields.DateTimeField', [], {}),
94
            'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
95
            'uuid': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
96
            'verification_code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True'}),
97
            'verified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
98
        },
99
        'im.astakosuserauthprovider': {
100
            'Meta': {'ordering': "('module', 'created')", 'unique_together': "(('identifier', 'module', 'user'),)", 'object_name': 'AstakosUserAuthProvider'},
101
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
102
            'affiliation': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
103
            'auth_backend': ('django.db.models.fields.CharField', [], {'default': "'astakos'", 'max_length': '255'}),
104
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
105
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
106
            'identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
107
            'info_data': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
108
            'module': ('django.db.models.fields.CharField', [], {'default': "'local'", 'max_length': '255'}),
109
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_providers'", 'to': "orm['im.AstakosUser']"})
110
        },
111
        'im.astakosuserquota': {
112
            'Meta': {'unique_together': "(('resource', 'user'),)", 'object_name': 'AstakosUserQuota'},
113
            'capacity': ('django.db.models.fields.BigIntegerField', [], {}),
114
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
115
            'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Resource']"}),
116
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"})
117
        },
118
        'im.authproviderpolicyprofile': {
119
            'Meta': {'ordering': "['priority']", 'object_name': 'AuthProviderPolicyProfile'},
120
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
121
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'authpolicy_profiles'", 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
122
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
123
            'is_exclusive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
124
            'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
125
            'policy_add': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
126
            'policy_automoderate': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
127
            'policy_create': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
128
            'policy_limit': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
129
            'policy_login': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
130
            'policy_remove': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
131
            'policy_required': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
132
            'policy_switch': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
133
            'priority': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
134
            'provider': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
135
            'users': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'authpolicy_profiles'", 'symmetrical': 'False', 'to': "orm['im.AstakosUser']"})
136
        },
137
        'im.chain': {
138
            'Meta': {'object_name': 'Chain'},
139
            'chain': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
140
        },
141
        'im.component': {
142
            'Meta': {'object_name': 'Component'},
143
            'auth_token': ('django.db.models.fields.CharField', [], {'max_length': '64', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
144
            'auth_token_created': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
145
            'auth_token_expires': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
146
            'base_url': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True'}),
147
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
148
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
149
            'url': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True'})
150
        },
151
        'im.emailchange': {
152
            'Meta': {'object_name': 'EmailChange'},
153
            'activation_key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40', 'db_index': 'True'}),
154
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
155
            'new_email_address': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
156
            'requested_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
157
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'emailchanges'", 'unique': 'True', 'to': "orm['im.AstakosUser']"})
158
        },
159
        'im.endpoint': {
160
            'Meta': {'object_name': 'Endpoint'},
161
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162
            'service': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endpoints'", 'to': "orm['im.Service']"})
163
        },
164
        'im.endpointdata': {
165
            'Meta': {'unique_together': "(('endpoint', 'key'),)", 'object_name': 'EndpointData'},
166
            'endpoint': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['im.Endpoint']"}),
167
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168
            'key': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
169
            'value': ('django.db.models.fields.CharField', [], {'max_length': '1024'})
170
        },
171
        'im.invitation': {
172
            'Meta': {'object_name': 'Invitation'},
173
            'code': ('django.db.models.fields.BigIntegerField', [], {'db_index': 'True'}),
174
            'consumed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
175
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
176
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177
            'inviter': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'invitations_sent'", 'null': 'True', 'to': "orm['im.AstakosUser']"}),
178
            'is_consumed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
179
            'realname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
180
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
181
        },
182
        'im.pendingthirdpartyuser': {
183
            'Meta': {'unique_together': "(('provider', 'third_party_identifier'),)", 'object_name': 'PendingThirdPartyUser'},
184
            'affiliation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
185
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
186
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
187
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
188
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
189
            'info': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
190
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
191
            'provider': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
192
            'third_party_identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
193
            'token': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
194
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
195
        },
196
        'im.project': {
197
            'Meta': {'object_name': 'Project'},
198
            'application': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'project'", 'unique': 'True', 'to': "orm['im.ProjectApplication']"}),
199
            'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
200
            'id': ('django.db.models.fields.BigIntegerField', [], {'primary_key': 'True', 'db_column': "'id'"}),
201
            'members': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.AstakosUser']", 'through': "orm['im.ProjectMembership']", 'symmetrical': 'False'}),
202
            'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True', 'null': 'True', 'db_index': 'True'}),
203
            'state': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_index': 'True'})
204
        },
205
        'im.projectapplication': {
206
            'Meta': {'unique_together': "(('chain', 'id'),)", 'object_name': 'ProjectApplication'},
207
            'applicant': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projects_applied'", 'to': "orm['im.AstakosUser']"}),
208
            'chain': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'chained_apps'", 'db_column': "'chain'", 'to': "orm['im.Project']"}),
209
            'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
210
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
211
            'end_date': ('django.db.models.fields.DateTimeField', [], {}),
212
            'homepage': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True'}),
213
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
214
            'issue_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
215
            'limit_on_members_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
216
            'member_join_policy': ('django.db.models.fields.IntegerField', [], {}),
217
            'member_leave_policy': ('django.db.models.fields.IntegerField', [], {}),
218
            'name': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
219
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projects_owned'", 'to': "orm['im.AstakosUser']"}),
220
            'resource_grants': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['im.Resource']", 'null': 'True', 'through': "orm['im.ProjectResourceGrant']", 'blank': 'True'}),
221
            'response': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
222
            'response_actor': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'responded_apps'", 'null': 'True', 'to': "orm['im.AstakosUser']"}),
223
            'response_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
224
            'start_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
225
            'state': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}),
226
            'waive_actor': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'waived_apps'", 'null': 'True', 'to': "orm['im.AstakosUser']"}),
227
            'waive_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
228
            'waive_reason': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'})
229
        },
230
        'im.projectlock': {
231
            'Meta': {'object_name': 'ProjectLock'},
232
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
233
        },
234
        'im.projectlog': {
235
            'Meta': {'object_name': 'ProjectLog'},
236
            'actor': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']", 'null': 'True'}),
237
            'comments': ('django.db.models.fields.TextField', [], {'null': 'True'}),
238
            'date': ('django.db.models.fields.DateTimeField', [], {}),
239
            'from_state': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
240
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
241
            'project': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'log'", 'to': "orm['im.Project']"}),
242
            'reason': ('django.db.models.fields.TextField', [], {'null': 'True'}),
243
            'to_state': ('django.db.models.fields.IntegerField', [], {})
244
        },
245
        'im.projectmembership': {
246
            'Meta': {'unique_together': "(('person', 'project'),)", 'object_name': 'ProjectMembership'},
247
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
248
            'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"}),
249
            'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Project']"}),
250
            'state': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'})
251
        },
252
        'im.projectmembershiplog': {
253
            'Meta': {'object_name': 'ProjectMembershipLog'},
254
            'actor': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']", 'null': 'True'}),
255
            'comments': ('django.db.models.fields.TextField', [], {'null': 'True'}),
256
            'date': ('django.db.models.fields.DateTimeField', [], {}),
257
            'from_state': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
258
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
259
            'membership': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'log'", 'to': "orm['im.ProjectMembership']"}),
260
            'reason': ('django.db.models.fields.TextField', [], {'null': 'True'}),
261
            'to_state': ('django.db.models.fields.IntegerField', [], {})
262
        },
263
        'im.projectresourcegrant': {
264
            'Meta': {'unique_together': "(('resource', 'project_application'),)", 'object_name': 'ProjectResourceGrant'},
265
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
266
            'member_capacity': ('django.db.models.fields.BigIntegerField', [], {'default': '0'}),
267
            'project_application': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.ProjectApplication']", 'null': 'True'}),
268
            'project_capacity': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
269
            'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Resource']"})
270
        },
271
        'im.resource': {
272
            'Meta': {'object_name': 'Resource'},
273
            'api_visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
274
            'desc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
275
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
276
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
277
            'service_origin': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
278
            'service_type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
279
            'ui_visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
280
            'unit': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
281
            'uplimit': ('django.db.models.fields.BigIntegerField', [], {'default': '0'})
282
        },
283
        'im.service': {
284
            'Meta': {'object_name': 'Service'},
285
            'component': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Component']"}),
286
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
287
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
288
            'type': ('django.db.models.fields.CharField', [], {'max_length': '255'})
289
        },
290
        'im.sessioncatalog': {
291
            'Meta': {'object_name': 'SessionCatalog'},
292
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
293
            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
294
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'sessions'", 'null': 'True', 'to': "orm['im.AstakosUser']"})
295
        },
296
        'im.usersetting': {
297
            'Meta': {'unique_together': "(('user', 'setting'),)", 'object_name': 'UserSetting'},
298
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
299
            'setting': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
300
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"}),
301
            'value': ('django.db.models.fields.IntegerField', [], {})
302
        },
303
        'quotaholder_app.commission': {
304
            'Meta': {'object_name': 'Commission'},
305
            'clientkey': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
306
            'issue_datetime': ('django.db.models.fields.DateTimeField', [], {}),
307
            'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '4096'}),
308
            'serial': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
309
        },
310
        'quotaholder_app.holding': {
311
            'Meta': {'unique_together': "(('holder', 'source', 'resource'),)", 'object_name': 'Holding'},
312
            'holder': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'db_index': 'True'}),
313
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
314
            'limit': ('django.db.models.fields.BigIntegerField', [], {}),
315
            'resource': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
316
            'source': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'null': 'True'}),
317
            'usage_max': ('django.db.models.fields.BigIntegerField', [], {'default': '0'}),
318
            'usage_min': ('django.db.models.fields.BigIntegerField', [], {'default': '0'})
319
        },
320
        'quotaholder_app.provision': {
321
            'Meta': {'object_name': 'Provision'},
322
            'holder': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'db_index': 'True'}),
323
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
324
            'quantity': ('django.db.models.fields.BigIntegerField', [], {}),
325
            'resource': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
326
            'serial': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provisions'", 'to': "orm['quotaholder_app.Commission']"}),
327
            'source': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'null': 'True'})
328
        },
329
        'quotaholder_app.provisionlog': {
330
            'Meta': {'object_name': 'ProvisionLog'},
331
            'delta_quantity': ('django.db.models.fields.BigIntegerField', [], {}),
332
            'holder': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
333
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
334
            'issue_time': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
335
            'limit': ('django.db.models.fields.BigIntegerField', [], {}),
336
            'log_time': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
337
            'name': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
338
            'reason': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
339
            'resource': ('django.db.models.fields.CharField', [], {'max_length': '4096'}),
340
            'serial': ('django.db.models.fields.BigIntegerField', [], {}),
341
            'source': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'null': 'True'}),
342
            'usage_max': ('django.db.models.fields.BigIntegerField', [], {}),
343
            'usage_min': ('django.db.models.fields.BigIntegerField', [], {})
344
        }
345
    }
346

    
347
    complete_apps = ['im', 'quotaholder_app']
348
    symmetrical = True