Closed okke-formsma closed 12 years ago
How about using RequestContext instead of a plain dictionary?
Meh, I'm trying to fix my commit but somehow I'm getting errors from the GitHub app. Deleting my fork and then creating a new one didn't really seem to work. Please wait a minute, I'm trying to make a new pull request in a minute :)
I nuked my repo as it made my github app crash. Re-forking your repo doesn't seem to work, I hope it'll magically be better in a few days orso.
Anyway, could you add a request keyword argument to the view code, line 91? Also, don't forget to import RequestContext.
context=RequestContext(request)
Our templates expect a context dictionary, which might be pre-filled with values in middleware. This patch adds the request context object to template rendering calls.