Opened 19 years ago

Last modified 17 years ago

#66 closed defect

urlpatterns, incldue and app_root — at Initial Version

Reported by: slashzero Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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:

(r'polls/', include('myproject.apps.polls.urls.polls')),

it would be /polls/

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top