Commit dfb7be58 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

request.REQUEST is removed in django 1.9

Replace request.REQUEST with request.POST.
parent 815e2d04
......@@ -55,7 +55,7 @@ def as_div(self):
@csrf_exempt
def generate_mirrorlist(request):
if request.method == 'POST' or len(request.GET) > 0:
form = MirrorlistForm(data=request.REQUEST)
form = MirrorlistForm(data=request.POST)
if form.is_valid():
countries = form.cleaned_data['country']
protocols = form.cleaned_data['protocol']
......
Supports Markdown
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