Changes between Initial Version and Version 1 of Ticket #66


Ignore:
Timestamp:
Jul 18, 2005, 3:54:51 PM (19 years ago)
Author:
Adrian Holovaty
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66

    • Property Summary urlpatterns, incldue and app_rootGive views access to application root from urlconf
  • Ticket #66 – Description

    initial v1  
    1 When using include with urlpatterns, there should be a variable available to the views that will give us the root of the application.  For instance for:
     1When using include with urlpatterns, there should be a variable available to the views that will give us the root of the application.  For instance, for:
    22
     3{{{
     4 (r'^polls/', include('myproject.apps.polls.urls.polls')),
     5}}}
    36
    4  (r'^polls/', include('myproject.apps.polls.urls.polls')),
    5 
    6 it would be /polls/
     7...it would be "/polls/".
Back to Top