diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-12-09 12:13:08 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-12-09 12:13:08 -0500 |
commit | 368c62b96a13d4fc340c67bbfc4048e227269070 (patch) | |
tree | b95f6107872ed32c5632aad61eb973522a2730d4 /forum/models.py | |
parent | 86250a6d49e69ff04d128d11bfa82d9a7b345bbf (diff) | |
download | askbot-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.py | 4 |
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): |