google-code-export / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
0 stars 0 forks source link

TemplateSyntaxError base.html {% get_messages request.session %} #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to load the grappelli admin interface
2.
3.

What is the expected output? What do you see instead?

Expected is the admin index page or login page. Instead, I receive the 
following error:

Caught an exception while rendering: Failed lookup for key [request] in u'[{...

The problem seems to be line 62 of base.html:
{% get_messages request.session %}

Removing this template tag solves the issue (or at least the page loads 
properly),

What version of the product are you using? On what operating system?

Grappelli 2.0 on Mac OS X 10.6.2

Please provide any additional information below.

Original issue reported on code.google.com by dmee...@gmail.com on 16 Nov 2009 at 1:05

GoogleCodeExporter commented 9 years ago
did you add the request context-processor?

Original comment by sehmaschine on 16 Nov 2009 at 7:27

GoogleCodeExporter commented 9 years ago
Ok, missed that one in the new installation instructions... that fixed the 
error. Pages load properly and the green 
bar shows up when I add a bookmark. However, when I navigate to another page in 
the admin, the green bar 
stays... in fact it never goes away. Is this the correct behavior?

Original comment by dmee...@gmail.com on 16 Nov 2009 at 7:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r661.

Original comment by sehmaschine on 16 Nov 2009 at 9:24