Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

VariableDoesNotExist 500.jinja.html b/c no RequestContext

Server 500 errors on my installation fail to render because the handler500 is passing an empty context when the 500.jinja.html is expecting RequestContext.

There used to be a work around in the PageSize middleware. But now that has been removed. I assume you have dealt with the problem elsewhere, but I cant find where.

My details:

  • database migrations run up to and including number 0122
  • request template context processor is present
  • the urls.py tuple isn't empty

The site was generated using the askbot-setup command and I loaded a previous forum that had migrations up to and including 0113 applied.

Any clues on where to look?

VariableDoesNotExist 500.jinja.html b/c no RequestContext

Server 500 errors on my installation fail to render because the handler500 is passing an empty context when the 500.jinja.html is expecting RequestContext.

There used to be a work around in the PageSize middleware. But now that has been removed. I assume you have dealt with the problem elsewhere, but I cant find where.

My details:

  • database migrations run up to and including number 0122
  • request template context processor is present
  • the urls.py tuple isn't empty

The site was generated using the askbot-setup command and I loaded a previous forum that had migrations up to and including 0113 applied.

Any clues on where to look?