Remove SSL decorators and middleware

The site is now served regardless of SSL, and assumes that the webserver
or web cache ensures that things rae always SSL.
This commit is contained in:
Magnus Hagander
2016-05-19 13:44:06 -04:00
parent 753d20545a
commit 3c089cd09a
11 changed files with 3 additions and 65 deletions

View File

@ -2,7 +2,6 @@ from django.shortcuts import render_to_response
from django.http import Http404
from django.contrib.auth.decorators import login_required
from pgweb.util.decorators import ssl_required
from pgweb.util.contexts import NavContext
from pgweb.util.helpers import simple_form
@ -56,7 +55,6 @@ def region(request, servtype, regionname):
# Forms to edit
@ssl_required
@login_required
def profservform(request, itemid):
return simple_form(ProfessionalService, itemid, request, ProfessionalServiceForm,