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