3 from south.db import db
\r
4 from south.v2 import SchemaMigration
\r
5 from django.db import models
\r
7 class Migration(SchemaMigration):
\r
9 def forwards(self, orm):
\r
11 # Adding field 'Question.accepted_answer'
\r
12 db.add_column(u'question', 'accepted_answer', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Answer'], unique=True, null=True), keep_default=False)
\r
15 def backwards(self, orm):
\r
17 # Deleting field 'Question.accepted_answer'
\r
18 db.delete_column(u'question', 'accepted_answer_id')
\r
23 'Meta': {'object_name': 'Group'},
\r
24 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
25 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
\r
26 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
\r
28 'auth.permission': {
\r
29 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
\r
30 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
31 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
\r
36 'Meta': {'object_name': 'User'},
\r
37 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
38 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
\r
39 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
40 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
\r
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
42 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
43 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
44 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
45 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
46 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
47 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
\r
48 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
\r
49 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
\r
51 'contenttypes.contenttype': {
\r
52 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
\r
53 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
54 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
55 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
56 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
\r
59 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
\r
60 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
61 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
62 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
63 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
64 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
65 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
66 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
68 'forum.anonymousnode': {
\r
69 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']},
\r
70 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
\r
71 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
\r
72 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"})
\r
75 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
\r
76 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
77 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
78 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
79 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
\r
80 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
81 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
\r
83 'forum.authkeyuserassociation': {
\r
84 'Meta': {'object_name': 'AuthKeyUserAssociation'},
\r
85 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
86 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
87 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
88 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
\r
89 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
\r
92 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
\r
93 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
94 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
\r
95 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
96 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
97 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
98 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
99 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
\r
102 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
\r
103 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
104 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
\r
105 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
106 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
107 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
108 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
\r
109 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
\r
110 'type': ('django.db.models.fields.SmallIntegerField', [], {})
\r
113 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},
\r
114 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
115 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
116 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
117 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
118 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
119 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
120 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}),
\r
121 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
122 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
123 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})
\r
125 'forum.favoritequestion': {
\r
126 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
\r
127 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
128 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
129 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
130 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
\r
132 'forum.flaggeditem': {
\r
133 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
\r
134 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
135 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
136 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
137 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
138 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}),
\r
139 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
\r
141 'forum.keyvalue': {
\r
142 'Meta': {'object_name': 'KeyValue'},
\r
143 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
144 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
145 'value': ('forum.models.utils.PickledObjectField', [], {})
\r
147 'forum.likedcomment': {
\r
148 'Meta': {'object_name': 'LikedComment'},
\r
149 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
150 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
151 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}),
\r
152 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
153 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
155 'forum.markedtag': {
\r
156 'Meta': {'object_name': 'MarkedTag'},
\r
157 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
158 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
159 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
\r
160 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
\r
163 'Meta': {'object_name': 'Node'},
\r
164 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}),
\r
165 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
166 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}),
\r
167 'body': ('django.db.models.fields.TextField', [], {}),
\r
168 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
169 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
170 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
171 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
172 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
173 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
174 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
175 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
\r
176 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
177 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
178 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
179 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
180 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}),
\r
181 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
182 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
183 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'})
\r
185 'forum.noderevision': {
\r
186 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'},
\r
187 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}),
\r
188 'body': ('django.db.models.fields.TextField', [], {}),
\r
189 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
190 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}),
\r
191 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
192 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
193 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
194 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
195 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
\r
197 'forum.question': {
\r
198 'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
\r
199 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Answer']", 'unique': 'True', 'null': 'True'}),
\r
200 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
201 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
202 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
\r
203 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
204 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
205 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
206 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
\r
207 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
208 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
209 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),
\r
210 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}),
\r
211 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
\r
212 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
213 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
214 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
\r
216 'forum.questionsubscription': {
\r
217 'Meta': {'object_name': 'QuestionSubscription'},
\r
218 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
219 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
220 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 11, 5, 41, 763000)'}),
\r
221 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
222 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
225 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
\r
226 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
227 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
228 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
229 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
230 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
\r
231 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
232 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'})
\r
234 'forum.subscriptionsettings': {
\r
235 'Meta': {'object_name': 'SubscriptionSettings'},
\r
236 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
237 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
238 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
239 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
240 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
\r
241 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
\r
242 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
243 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
244 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
245 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
246 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
247 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
248 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
249 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
250 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
251 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
252 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
253 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
\r
256 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
\r
257 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
\r
258 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
259 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
260 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
261 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
262 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
\r
263 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
264 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
\r
267 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
\r
268 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
\r
269 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
270 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
\r
271 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
272 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
\r
273 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
274 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
275 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
276 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
277 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
278 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
\r
279 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
280 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
\r
281 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
282 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
\r
283 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
\r
285 'forum.validationhash': {
\r
286 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
\r
287 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 11, 5, 42, 36000)'}),
\r
288 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
289 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
290 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
291 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
292 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
295 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"},
\r
296 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
297 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
298 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
299 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
\r
300 'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
301 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
\r
305 complete_apps = ['forum']
\r