django should i create a home page code example
Example: django link home page
---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' %}">