Changes between Initial Version and Version 1 of Ticket #14829
- Timestamp:
- Dec 3, 2010, 4:37:54 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14829 – Description
initial v1 3 3 http://docs.djangoproject.com/en/dev/topics/http/urls/#url 4 4 5 to reflect that using class-based generic views means you pass the class object instead of view='some_view'and that class-based views must be imported as opposed to included in the patterns arguments.5 to reflect that using class-based generic views means you pass the class object instead of {{{ view='some_view' }}} and that class-based views must be imported as opposed to included in the patterns arguments. 6 6 7 7 example: 8 {{{ 8 9 from myapp.views import * 9 10 … … 11 12 url(GenericViewClass.as_view(), name='the_url_name'), 12 13 ) 14 }}}