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