I want to make my wagtail site production ready, since I turned my
DEBUG setiing to
False I cant access Wagtail admin anymore. Django-admin and the rest of the Site is working well except of the Wagtail userbar which also raises a 500 error on every page (
http://manuelstrasser.com/admin/userbar/3/ 500 (Internal Server Error)). I guess that's an issue with compressing. After I run
collectstatic, I tried to
python manage.py compress which gives me the following errors:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 399, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle
self.compress(sys.stdout, **options)
File "/usr/local/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 181, in compress
nodes = list(parser.walk_nodes(template))
File "/usr/local/lib/python2.7/dist-packages/compressor/offline/django.py", line 150, in walk_nodes
for node in self.walk_nodes(node, original):
File "/usr/local/lib/python2.7/dist-packages/compressor/offline/django.py", line 146, in walk_nodes
for node in self.get_nodelist(node, original):
File "/usr/local/lib/python2.7/dist-packages/compressor/offline/django.py", line 128, in get_nodelist
return handle_extendsnode(node, block_context=None, original=original)
File "/usr/local/lib/python2.7/dist-packages/compressor/offline/django.py", line 34, in handle_extendsnode
compiled_parent = extendsnode.get_parent(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 134, in get_parent
parent = self.parent_name.resolve(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 726, in resolve
arg_vals.append(arg.resolve(context))
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 846, in resolve
value = self._resolve_lookup(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 901, in _resolve_lookup
(bit, current)) # missing attribute
django.template.base.VariableDoesNotExist: Failed lookup for key [request] in u"[{'False': False, 'None': None, 'True': True}]"
In my settings I've
COMPRESS_ENABLED = True
COMPRESS_OFFLINE = True
ALLOWED_HOSTS = ['*',]
Any Ideas how I could get Wagtail admin work again?
regards Manuel
--
You received this message because you are subscribed to the Google Groups "Wagtail support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
wagtail+u...@googlegroups.com.
To post to this group, send email to
wag...@googlegroups.com.
Visit this group at
https://groups.google.com/group/wagtail.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/wagtail/dafc7e33-0560-42e2-9760-1ba8b6a02ec5%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.