Changes between Initial Version and Version 1 of Ticket #14829


Ignore:
Timestamp:
Dec 3, 2010, 4:37:54 PM (14 years ago)
Author:
Alex Gaynor
Comment:

Fixed up the formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14829 – Description

    initial v1  
    33http://docs.djangoproject.com/en/dev/topics/http/urls/#url
    44
    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.
     5to 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.
    66
    77example:
     8{{{
    89from myapp.views import *
    910
     
    1112    url(GenericViewClass.as_view(), name='the_url_name'),
    1213)
     14}}}
Back to Top