47c95a2821
We need a bit more, like actually having something relevant in the RequestContext object, in order for this to all work. Instead of putting the full request in just populate a 'secure' key with a boolean value indicating whether the request is secure. Signed-off-by: Dan McGee <dan@archlinux.org>
5 lines
90 B
Python
5 lines
90 B
Python
def secure(request):
|
|
return {'secure': request.is_secure()}
|
|
|
|
# vim: set ts=4 sw=4 et:
|