1
 

Comments

daevaorn (on January 7, 2008):

Standard {% url %} tag accepts strings.

#

mikko (on January 9, 2008):

it accepts strings in a variable only

#

daevaorn (on January 10, 2008):

No. It accepts string literals too.

#

mikko (on January 11, 2008):

Yes, that was stupid i had my string the same name as a variable and so it resolved to something else...

#

mikko (on January 11, 2008):

No... standard url tag does NOT accept hard-coded strings, well it does but it cannot resolve. Try it!

#

mikko (on January 11, 2008):

Why would I go through all this trouble if it worked? Please try before you make all these comments (that confuses me).

#

daevaorn (on January 14, 2008):

I use in some of my projects url tag with string literals and it works fine. Examples: {% url generics.staticpages.views.dispatcher slug="termsofuse"%} or {% url generics.accounts.views.action "reg"%}

Standard variable resolver handles literals well.

I don't know what is problem for you...

#

mikko (on January 14, 2008):

my problem was that i used single quotes, what a bummer

#

(Forgotten your password?)

You may use Markdown syntax here, but raw HTML will be removed.