Parameter 2 to "render_to_response" is only expecting a dictionary, not a
Context/RequestContext, so, it will grab your 'dictionary-like object' and
wrap it in its own Context, meaning that none of your template context
processors will run (since those require a RequestContext)
I suggest using
I believe I may have solved it, this is the view that kept causing it to
happen:
def document_revert(request, pk):
version = get_object_or_404(reversion.models.Version, pk=pk)
document_version = version.object_version.object
context = RequestContext(request, {'document': document_versi
2 matches
Mail list logo