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