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 field 'Repute.negative'
\r
12 db.delete_column(u'repute', 'negative')
\r
14 # Deleting field 'Repute.positive'
\r
15 db.delete_column(u'repute', 'positive')
\r
17 # Deleting field 'Repute.reputation'
\r
18 db.delete_column(u'repute', 'reputation')
\r
21 def backwards(self, orm):
\r
23 # Adding field 'Repute.negative'
\r
24 db.add_column(u'repute', 'negative', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False)
\r
26 # Adding field 'Repute.positive'
\r
27 db.add_column(u'repute', 'positive', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False)
\r
29 # Adding field 'Repute.reputation'
\r
30 db.add_column(u'repute', 'reputation', self.gf('django.db.models.fields.IntegerField')(default=1), keep_default=False)
\r
35 'Meta': {'object_name': 'Group'},
\r
36 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
37 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
\r
38 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
\r
40 'auth.permission': {
\r
41 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
\r
42 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
43 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
44 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
45 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
\r
48 'Meta': {'object_name': 'User'},
\r
49 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
50 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
\r
51 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
52 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
\r
53 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
54 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
55 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
56 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
57 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
58 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
59 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
\r
60 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
\r
61 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
\r
63 'contenttypes.contenttype': {
\r
64 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
\r
65 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
66 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
67 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
68 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
\r
71 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
\r
72 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
73 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
74 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
75 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
76 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
77 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
78 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
80 'forum.anonymousanswer': {
\r
81 'Meta': {'object_name': 'AnonymousAnswer'},
\r
82 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
83 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
84 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
85 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
\r
86 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}),
\r
87 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
\r
88 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
\r
89 'text': ('django.db.models.fields.TextField', [], {}),
\r
90 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
\r
92 'forum.anonymousquestion': {
\r
93 'Meta': {'object_name': 'AnonymousQuestion'},
\r
94 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
95 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
96 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
97 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
\r
98 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
\r
99 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
\r
100 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
101 'text': ('django.db.models.fields.TextField', [], {}),
\r
102 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
103 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
\r
106 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
\r
107 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
108 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
109 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
110 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
111 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}),
\r
112 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
113 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
114 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
115 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
116 'html': ('django.db.models.fields.TextField', [], {}),
\r
117 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
118 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
119 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
120 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
121 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}),
\r
122 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
123 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
124 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
125 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
126 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
\r
128 'forum.answerrevision': {
\r
129 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"},
\r
130 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}),
\r
131 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}),
\r
132 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
133 'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
\r
134 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
135 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
\r
136 'text': ('django.db.models.fields.TextField', [], {})
\r
138 'forum.authkeyuserassociation': {
\r
139 'Meta': {'object_name': 'AuthKeyUserAssociation'},
\r
140 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
141 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
142 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
143 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
\r
144 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
\r
147 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
\r
148 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
149 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
\r
150 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
151 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
152 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
153 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
154 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
\r
157 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
\r
158 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
159 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
\r
160 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
161 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
162 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
163 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
\r
164 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
\r
165 'type': ('django.db.models.fields.SmallIntegerField', [], {})
\r
168 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},
\r
169 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
170 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
171 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
172 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
173 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
174 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
175 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
176 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}),
\r
177 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
178 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
179 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})
\r
181 'forum.favoritequestion': {
\r
182 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
\r
183 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
184 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
185 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
186 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
\r
188 'forum.flaggeditem': {
\r
189 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
\r
190 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
191 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
192 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
193 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
194 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
195 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}),
\r
196 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
\r
198 'forum.keyvalue': {
\r
199 'Meta': {'object_name': 'KeyValue'},
\r
200 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
201 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
202 'value': ('forum.models.utils.PickledObjectField', [], {})
\r
204 'forum.likedcomment': {
\r
205 'Meta': {'object_name': 'LikedComment'},
\r
206 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
207 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
208 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}),
\r
209 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
210 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
212 'forum.markedtag': {
\r
213 'Meta': {'object_name': 'MarkedTag'},
\r
214 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
215 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
216 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
\r
217 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
\r
219 'forum.question': {
\r
220 'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
\r
221 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
222 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
223 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
224 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}),
\r
225 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
\r
226 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
227 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
228 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
229 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
230 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
231 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
232 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
233 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
\r
234 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
235 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}),
\r
236 'html': ('django.db.models.fields.TextField', [], {}),
\r
237 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
238 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
239 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),
\r
240 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
241 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
242 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
243 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
244 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
\r
245 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
\r
246 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
247 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}),
\r
248 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
249 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
250 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
251 'vote_up_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.questionrevision': {
\r
256 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"},
\r
257 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}),
\r
258 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
259 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}),
\r
260 'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
\r
261 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
262 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
\r
263 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
264 'text': ('django.db.models.fields.TextField', [], {}),
\r
265 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
\r
267 'forum.questionsubscription': {
\r
268 'Meta': {'object_name': 'QuestionSubscription'},
\r
269 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
270 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
271 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 11, 40, 26, 816000)'}),
\r
272 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
273 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
276 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
\r
277 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
278 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
279 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
280 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
281 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
\r
282 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
283 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'})
\r
285 'forum.subscriptionsettings': {
\r
286 'Meta': {'object_name': 'SubscriptionSettings'},
\r
287 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
288 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
289 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
290 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
291 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
\r
292 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
\r
293 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
294 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
295 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
296 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
297 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
298 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
299 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
300 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
301 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
302 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
303 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
304 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
\r
307 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
\r
308 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
\r
309 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
310 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
311 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
312 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
313 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
\r
314 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
315 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
\r
318 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
\r
319 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
\r
320 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
321 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
\r
322 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
323 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
\r
324 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
325 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
326 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
327 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
328 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
329 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
\r
330 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
331 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
\r
332 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
333 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
\r
334 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
\r
336 'forum.validationhash': {
\r
337 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
\r
338 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 11, 40, 27, 72000)'}),
\r
339 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
340 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
341 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
342 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
343 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
346 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"},
\r
347 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
348 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
349 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
350 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
351 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
\r
352 'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
353 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
\r
357 complete_apps = ['forum']
\r