Skip to content

Instantly share code, notes, and snippets.

@Varnan
Created September 3, 2015 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Varnan/490eb1af60302841fa81 to your computer and use it in GitHub Desktop.
Save Varnan/490eb1af60302841fa81 to your computer and use it in GitHub Desktop.
Class based view in django
=================== Class based view in django =====================================
For class based view, check this link, otherwise download django pdf doc, and just search for that,
Dont worry its very simple, if you know oops and python mixins.
https://docs.djangoproject.com/en/1.8/topics/class-based-views/
https://docs.djangoproject.com/en/1.8/topics/class-based-views/intro/
https://docs.djangoproject.com/en/1.8/topics/class-based-views/generic-display/
https://docs.djangoproject.com/en/1.8/topics/class-based-views/generic-editing/
https://docs.djangoproject.com/en/1.8/topics/class-based-views/mixins/
To use class based view, just know about something mixins, its a special type of multiple inheritance via compositional style.For more , just make use of this link,
http://www.ianlewis.org/en/mixins-and-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment