python - ImportError raised when trying to load 'material.admin.templatetags.material_admin': cannot import name Layout -
traceback (most recent call last): file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 63, in __call__ return self.application(environ, start_response) file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 170, in __call__ response = self.get_response(request) file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 124, in get_response response = self._middleware_chain(request) file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner response = response_for_exception(request, exc) ... file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/template/backends/django.py", line 30, in __init__ options['libraries'] = self.get_templatetag_libraries(libraries) file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/template/backends/django.py", line 48, in get_templatetag_libraries libraries = get_installed_libraries() file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/template/backends/django.py", line 113, in get_installed_libraries name in get_package_libraries(pkg): file "/home/jeremie/.virtualenvs/venv/lib/python2.7/site-packages/django/template/backends/django.py", line 130, in get_package_libraries "trying load '%s': %s" % (entry[1], e) invalidtemplatelibrary: invalid template library specified. importerror raised when trying load 'material.admin.templatetags.material_admin': cannot import name layout
when run command python manage.py runserver_plus
, got error, can't see how fix it. modify works?
Comments
Post a Comment