Open RaoJiangFeng opened 8 years ago
File "/usr/lib/python2.7/site-packages/django/template/loaders/app_directories.py", line 25, in raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0])) django.core.exceptions.ImproperlyConfigured: ImportError guardian: cannot import name register
django-guardian (1.4.0 or newer) reguires django 1.7 or newer 好像降低版本 django-guardian==1.3.2可以
File "/usr/lib/python2.7/site-packages/django/template/loaders/app_directories.py", line 25, in
raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError guardian: cannot import name register