forked from Bcfg2/bcfg2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reporting: Use django.shortcuts.render
Replace django.shortcuts.render_to_response with django.shortcuts.render because the context_instance argument was deprecated in django 1.8 and removed in django 1.10. The render shortcut is available since django 1.3, so we can use it without a version check.
- Loading branch information
1 parent
968af37
commit 1d63db7
Showing
1 changed file
with
32 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters