search
menu
person

NEWS AND UDATES


'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.

просто поставьте название url в двойные или одинарные кавычки, например

было

<a href="{% url pub.node item.id %}">{{ item.title }}</a>

стало

<a href="{% url "pub.node" item.id %}">{{ item.title }}</a>
Просмотров: 940 | Добавил: django | Дата: 28.02.2013 | Комментарии (0)