page d'accueil du lien django
---urls.py:---
from django.conf.urls.defaults import *
urlpatterns = patterns('myproject.views',
url(r'^$', 'index', name='index'), #name is important
)
---Templates:---
<a href="{% url 'index' %}">
Thom626