Commit f7b60d5d authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix PEP error

parent 23b42e53
......@@ -13,6 +13,7 @@ from activemembers.models import Committee
from members.models import Member
from . import models
def _do_next(request, response):
if 'next' in request.GET and is_safe_url(request.GET['next']):
return HttpResponseRedirect(request.GET['next'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment