Changes between Initial Version and Version 2 of Ticket #7021


Ignore:
Timestamp:
Jun 16, 2008, 4:51:43 PM (16 years ago)
Author:
Marc Fargas
Comment:

Replying to manta@idev.lt:

However, when i enter {% url page "two-words" %} in my template to get a permalink to that page, link is not generated at all. If i change "-" to "_" by hand, everything works just fine.

Uhm, could you post the urls.py line that the url should resolve to? It's possible that your regex is not perfect and does not match "-" as a valid character.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7021

    • Property Component django-admin.pyTemplate system
    • Property Summary slug bugurl templatetag not working when used with two words (invalid?)
  • Ticket #7021 – Description

    initial v2  
    22
    33However, when i enter {% url page "two-words" %} in my template to get a permalink to that page, link is not generated at all. If i change "-" to "_" by hand, everything works just fine.
     4
     5(Removing the milestone until the bug is confirmed)
Back to Top