Created
February 18, 2016 10:28
-
-
Save nottrobin/4cb4e7f99744815729b9 to your computer and use it in GitHub Desktop.
Example of how to extend django.views.generic.base.TemplateView
This file contains hidden or 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
| from django.views.generic.base import TemplateView | |
| class OurTemplateView(TemplateView): | |
| # Setup our custom template data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment