Changes between Initial Version and Version 1 of Ticket #66


Ignore:
Timestamp:
07/18/2005 03:54:51 PM (10 years ago)
Author:
adrian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66

    • Property Summary changed from urlpatterns, incldue and app_root to Give 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