Skip to content
Snippets Groups Projects
Commit 5b66f480 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[accounts][management][commands] Fix urlparse import

parent 7f7d5181
No related branches found
No related tags found
2 merge requests!2551.4.x,!242Py3 compatibility
...@@ -46,7 +46,10 @@ from ....ui.registration.models import RegistrationProfile ...@@ -46,7 +46,10 @@ from ....ui.registration.models import RegistrationProfile
import sys import sys
import random import random
from urlparse import urlparse try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
class Command(BaseCommand): class Command(BaseCommand):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment