addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

djangovan: The Django Vancouver Meetup Group Message Board › December 2012 Meetup Recap

December 2012 Meetup Recap

Bryan C.
Group Organizer
Vancouver, BC
Post #: 4
Thank you to everyone who attended the December 2012 Django Vancouver Meetup this week. Here are the notes from the meetup, as originally recorded at http://openetherpad.o...­


OpenRoad Communications
Mozilla Vancouver

John Boxall from Mobify: Class Based Views­

Functional Views
Template view - render template using django.shortcuts.render
Detail view - present object details using get_object_or_404
List view
Create view - create model instance using ModelForm
Edit view - edit model instance using ModelForm

Template view - subclass TemplateView, set template_name
Detail view - subclass DetailView, set model and template_name
List view - subclass ListView, set model, context_object_name, template_name
Form views - subclass CreateView, UpdateView, etc.

Override get/post/etc methods to insert pdb call

@method_decorator on dispatch method

Example: StaffRequiredMixin
Example: MessageMixin

Composite views




Round Table
* Are functional views going to be deprecated? No - they're too useful! Generic functional views will be though: https://docs.djangopr...­
* Universe is offering free cloud hosting for a year
* Django ORM holding Postgres and NoSQL databases back with policy of lowest common denominator functionality?
* DjangoDBArray­
Powered by mvnForum

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy