Changes between Initial Version and Version 1 of Ticket #20645


Ignore:
Timestamp:
Jun 23, 2013, 5:03:08 PM (11 years ago)
Author:
Ramiro Morales
Comment:

Made description readable.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20645 – Description

    initial v1  
    1 if you use an include in your base URLConf and then use a name='' in that subsequent URLConf, the name doesn't resolve when you do a reverse match in the url tag in a template.
     1if you use an include in your base URLConf and then use a `name=''` in that subsequent URLConf, the name doesn't resolve when you do a reverse match in the url tag in a template.
    22
    33Example:
    44
    55Root
    6 url.py
    76
     7urls.py
     8{{{
    89urlpatterns = patterns('',
    910
     
    1112
    1213)
    13 
     14}}}
    1415Bar
    15 url.py
    16 
     16urls.py
     17{{{
    1718urlpatterns = patterns('bar.views',
    1819
     
    2021
    2122)
    22 
     23}}}
    2324in a HTML Template
    24 
     25{{{
    2526{% url "generateFoo" %}
     27}}}
    2628
    2729This generates a NoReverseMatch
Back to Top