Changes between Initial Version and Version 1 of Ticket #24430


Ignore:
Timestamp:
Mar 2, 2015, 12:36:44 PM (9 years ago)
Author:
Tim Graham
Comment:

What's the use case for allowing the admin to be accessed at a wildcard URL?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24430 – Description

    initial v1  
    11Example:
     2{{{
    23urlpatterns += patterns('',
    34        (r'^\w+/', include(admin.site.urls),),
    45)
     6}}}
     7All links generated by the admin site with this url show a 'x'
     8for example : `/x/<app_name>/<model_name>/`
    59
    6 All links generated by the admin site with this url show a 'x'
    7 for example
    8 /x/<app_name>/<model_name>/
    9 
    10 instead of the result of the matching wild card 'ABC' from ABC/<app_name>/<model_name>
     10instead of the result of the matching wild card 'ABC' from `ABC/<app_name>/<model_name>`
    1111
    1212the problem is that reverse can not know what to put in the wild card without having the path or the request as context.
Back to Top