diff options
Diffstat (limited to 'forum/views/users.py')
-rw-r--r-- | forum/views/users.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/forum/views/users.py b/forum/views/users.py index 7567ccd4..d988a195 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -9,6 +9,7 @@ from django.http import HttpResponse, HttpResponseForbidden from django.utils.translation import ugettext as _ from forum.forms import *#incomplete list is EditUserForm, ModerateUserForm, TagFilterSelectionForm, from forum import auth +from django.contrib.contenttypes.models import ContentType question_type = ContentType.objects.get_for_model(Question) answer_type = ContentType.objects.get_for_model(Answer) |