Permalink
Browse files

Merge pull request #92 from anushajp/patch-4

adds self.request to the context variables
  • Loading branch information...
2 parents dcc711c + a9beb01 commit e03c0ee27771ba09e97dd1ef7a89eca35eff3518 @garrypolley garrypolley committed Feb 13, 2017
Showing with 1 addition and 0 deletions.
  1. +1 −0 mongonaut/views.py
View
@@ -131,6 +131,7 @@ def get_context_data(self, **kwargs):
context['document'] = self.document
context['app_label'] = self.app_label
context['document_name'] = self.document_name
+ context['request'] = self.request
# pagination bits
context['page'] = self.page

0 comments on commit e03c0ee

Please sign in to comment.