Code

Changes between Initial Version and Version 1 of Ticket #14829


Ignore:
Timestamp:
12/03/10 14:37:54 (3 years ago)
Author:
Alex
Comment:

Fixed up the formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14829

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