Django - How to convert URL template syntax to Django 1.5? -


i able convert {% url %} template syntaxes django 1.5.

but i'm not able convert kind of old url's django 1.5:

{% url monthly_archive date|date:'y' date|date:'m' %} 

this not work:

{% url "monthly_archive date|date:'y'" date|date:'m' %} 

any ideas?

best regards,

why put close quote there, after first parameter? makes no sense. should go after url name, thing quoted "monthly_archive".


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -