Skip to content

Commit

Permalink
Merge pull request #92 from anushajp/patch-4
Browse files Browse the repository at this point in the history
adds self.request to the context variables
  • Loading branch information
garrypolley committed Feb 13, 2017
2 parents dcc711c + a9beb01 commit e03c0ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mongonaut/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e03c0ee

Please sign in to comment.