Use Python 3's urllib.parse.urlencode instead of django.utils.six

master
blag 2020-05-26 12:15:12 -07:00
parent 899f92f53a
commit 21cab41381
No known key found for this signature in database
GPG Key ID: 30870D32F59C5F40
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import json
from urllib.parse import urlencode
from django import VERSION
@ -16,7 +17,6 @@ from django.http import HttpResponse, HttpResponseBadRequest
from django.shortcuts import render
from django.template.defaultfilters import capfirst
from django.utils.decorators import method_decorator
from django.utils.six.moves.urllib.parse import urlencode
from django.utils.translation import gettext as _
from django.views.decorators.http import require_POST