Code

Ticket #14675: template.diff

File template.diff, 415 bytes (added by pupeno, 3 years ago)

Explicitly included functions from urls.default for the project template.

Line 
1diff --git a/django/conf/project_template/urls.py b/django/conf/project_template/urls.py
2index 3d0ff63..d054074 100644
3--- a/django/conf/project_template/urls.py
4+++ b/django/conf/project_template/urls.py
5@@ -1,4 +1,4 @@
6-from django.conf.urls.defaults import *
7+from django.conf.urls.defaults import patterns, url, include
8 
9 # Uncomment the next two lines to enable the admin:
10 # from django.contrib import admin