environnement Python 3.5.0 Djnago 1.9.2
urls.py
app_name = 'app' #ajouter à urlpatterns = [ url(r'^$', views.index, name='index'), ]
template.html
{% url 'app:index' %}
Recommended Posts