You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current solution is :
if django.get_version() >= "1.7":
from django.utils.module_loading import import_string
else:
from django.utils.module_loading import import_by_path as import_string
Please let me know your opinion. Thx a lot.
The text was updated successfully, but these errors were encountered:
Hi,
in fields.py there is this import
"from django.utils.module_loading import import_string"
but in Django 1.6 import_string is not present.
My current solution is :
if django.get_version() >= "1.7":
from django.utils.module_loading import import_string
else:
from django.utils.module_loading import import_by_path as import_string
Please let me know your opinion. Thx a lot.
The text was updated successfully, but these errors were encountered: