Changes between Initial Version and Version 1 of Ticket #14829


Ignore:
Timestamp:
12/03/2010 04:37:54 PM (5 years ago)
Author:
Alex
Comment:

Fixed up the formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14829

    • Property Needs documentation unset
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • 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