Hello Carlton,
Il 11/02/19 12:02, Carlton Gibson ha scritto:
1.11.19 blew my tests on python 2.7, python3 works fine:
File "/usr/local/lib/python2.7/site-packages/django/template/base.py", line
184, in __init__
engine = Engine.get_default()
File "/usr/local/lib/python2.7/site-packages/django/utils/lru_cache.py", line
124, in wrapper
result = user_function(*args, **kwds)
File "/usr/local/lib/python2.7/site-packages/django/template/engine.py", line
76, in get_default
django_engines = [engine for engine in engines.all()
File "/usr/local/lib/python2.7/site-packages/django/template/utils.py", line
89, in all
return [self[alias] for alias in self]
File "/usr/local/lib/python2.7/site-packages/django/template/utils.py", line
80, in __getitem__
engine = engine_cls(params)
File
"/usr/local/lib/python2.7/site-packages/django/template/backends/django.py",
line 30, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File
"/usr/local/lib/python2.7/site-packages/django/template/backends/django.py",
line 48, in get_templatetag_libraries
libraries = get_installed_libraries()
File
"/usr/local/lib/python2.7/site-packages/django/template/backends/django.py",
line 113, in get_installed_libraries
for name in get_package_libraries(pkg):
File
"/usr/local/lib/python2.7/site-packages/django/template/backends/django.py",
line 130, in get_package_libraries
"trying to load '%s': %s" % (entry[1], e)
InvalidTemplateLibrary: Invalid template library specified. ImportError raised
when trying to load 'django.contrib.admin.templatetags.base': cannot import name
getfullargspec
1.11.18 works fine for the same test.
--
Riccardo Magliocchetti
@rmistaken
http://menodizero.it