Changes between Initial Version and Version 1 of Ticket #66
- Timestamp:
- Jul 18, 2005, 3:54:51 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #66
- Property Summary urlpatterns, incldue and app_root → 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: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: 2 2 3 {{{ 4 (r'^polls/', include('myproject.apps.polls.urls.polls')), 5 }}} 3 6 4 (r'^polls/', include('myproject.apps.polls.urls.polls')), 5 6 it would be /polls/ 7 ...it would be "/polls/".