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