django link home page

Solutions on MaxInterview for django link home page by the best coders in the world

showing results for - "django link home page"
Klara
11 Apr 2018
1---urls.py:---
2from django.conf.urls.defaults import *
3
4urlpatterns = patterns('myproject.views',
5    url(r'^$', 'index', name='index'), #name is important
6)
7
8---Templates:---
9<a href="{% url 'index' %}">