Django tutorial part 4...omission?

22 views
Skip to first unread message

roahn...@gmail.com

unread,
Nov 14, 2015, 6:01:31 PM11/14/15
to Django users
I am wondering if Part 4 of the "Writing you first Django App" tutorial is missing a section about using the .as_view() function in the relevant urls.py file when implementing class based views? The tutorial discussed how to write a class base view, but never instructs about how to make the corresponding adjustment in the urls.py file. Am I just missing it?

James Schneider

unread,
Nov 14, 2015, 6:07:03 PM11/14/15
to django...@googlegroups.com
I am wondering if Part 4 of the "Writing you first Django App" tutorial is missing a section about using the .as_view() function in the relevant urls.py file when implementing class based views? The tutorial discussed how to write a class base view, but never instructs about how to make the corresponding adjustment in the urls.py file. Am I just missing it?

The two sections about creating the CBV's and adjusting the the urls.py file are literally next to each other, I'm not sure what else you could be referencing.


-James
Reply all
Reply to author
Forward
0 new messages