from django.http import HttpResponseRedirect, HttpResponse, Http404
from django.views.static import serve
from forum import settings
+from forum.modules import decorate
+from forum.views.decorators import login_required
from forum.forms import FeedbackForm
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
def privacy(request):
return render_to_response('privacy.html', context_instance=RequestContext(request))
+@decorate.withfn(login_required)
def logout(request):
return render_to_response('logout.html', {
'next' : get_next_url(request),