X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/9a977e5ab9fbc074e28aeb85c90a8707ffd66158..95757b7ab8ad52783347c645dd3bdb37d09740e2:/forum/views/commands.py diff --git a/forum/views/commands.py b/forum/views/commands.py index 0e01086..c4c0326 100644 --- a/forum/views/commands.py +++ b/forum/views/commands.py @@ -1,20 +1,18 @@ +# -*- coding: utf-8 -*- + import datetime import logging -from forum import settings from django.core.exceptions import ObjectDoesNotExist from django.core.urlresolvers import reverse from django.utils import simplejson from django.utils.encoding import smart_unicode from django.utils.translation import ungettext, ugettext as _ -from django.http import HttpResponse, HttpResponseRedirect, Http404 +from django.http import HttpResponse, Http404 from django.shortcuts import get_object_or_404, render_to_response -from django.template import RequestContext -from django.template.loader import render_to_string from forum.models import * -from forum.models.node import NodeMetaClass -from forum.utils.decorators import ajax_method, ajax_login_required +from forum.utils.decorators import ajax_login_required from forum.actions import * from forum.modules import decorate from forum import settings