Description

There is no way to access a flat page via the url template tag.

E.g.: some like to call their contact page /about/contact/ and some only /contact/. Would be nice if one could only write {% url contact %} in the template and which href is used is defined by the database entry.

Oldest firstNewest firstThreaded

Show commentsShow property changes

Change History (1)

Erm... the {% url %} tag is meant to decouple you from hard-coded URLs, But a flat page is, essentially, a hard-coded URL, so I'm not sure what you'd gain from using it to get the URL of a flat page. Closing invalid because of that.