mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-25 18:43:44 +03:00
Fixed version check
This commit is contained in:
parent
f31827d642
commit
7aa2fdb18c
|
@ -1,6 +1,6 @@
|
||||||
from six import string_types
|
from six import string_types
|
||||||
import sys
|
import sys
|
||||||
if sys.version_info < (2, 6):
|
if sys.version_info < (2, 7):
|
||||||
from django.utils.importlib import import_module
|
from django.utils.importlib import import_module
|
||||||
else:
|
else:
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
Loading…
Reference in New Issue
Block a user