summaryrefslogtreecommitdiffstats
path: root/forum/models.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-12-09 12:13:08 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-12-09 12:13:08 -0500
commit368c62b96a13d4fc340c67bbfc4048e227269070 (patch)
treeb95f6107872ed32c5632aad61eb973522a2730d4 /forum/models.py
parent86250a6d49e69ff04d128d11bfa82d9a7b345bbf (diff)
downloadaskbot-368c62b96a13d4fc340c67bbfc4048e227269070.tar.gz
askbot-368c62b96a13d4fc340c67bbfc4048e227269070.tar.bz2
askbot-368c62b96a13d4fc340c67bbfc4048e227269070.zip
better selector of ignored questions, split javascript tag_selector into separate file, fixed question counter messages in the english lang file
Diffstat (limited to 'forum/models.py')
-rw-r--r--forum/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/models.py b/forum/models.py
index 8873fd87..b031b0c8 100644
--- a/forum/models.py
+++ b/forum/models.py
@@ -346,8 +346,8 @@ class FavoriteQuestion(models.Model):
class MarkedTag(models.Model):
TAG_MARK_REASONS = (('good',_('interesting')),('bad',_('ignored')))
- tag = models.ForeignKey(Tag)
- user = models.ForeignKey(User)
+ tag = models.ForeignKey(Tag, related_name='user_selections')
+ user = models.ForeignKey(User, related_name='tag_selections')
reason = models.CharField(max_length=16, choices=TAG_MARK_REASONS)
class QuestionRevision(models.Model):