Commit 0a6ed722 authored by Daniel STAN's avatar Daniel STAN

[django] patterns|url|include in django.conf.urls

"Deprecated in Django 1.4: Starting with Django 1.4 functions patterns, url,
include plus the handler* symbols described below live in the django.conf.urls
module.

Until Django 1.3 they were located in django.conf.urls.defaults. You still can
import them from there but it will be removed in Django 1.6."
parent b30cf683
from django.conf.urls.defaults import patterns as patterns
from django.conf.urls import patterns as patterns
import views
......
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
......@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
import views
......
from django.conf.urls.defaults import patterns as patterns, url
from django.conf.urls import patterns as patterns, url
import views
......
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from django.conf.urls.defaults import include, patterns, url
from django.conf.urls import include, patterns, url
import settings
import django.contrib.auth.views
from utils.protectpost import protect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment