1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

Replace deprecated imports with actual

django.conf.urls.defaults is deprecated since django 1.5

old: from django.conf.urls.defaults import *
new: from django.conf.urls import *
This commit is contained in:
Hidden Z 2013-09-27 18:19:49 +00:00
parent 34d3243fcc
commit 154eb7f7c2
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
from django.conf.urls.defaults import *
from django.conf.urls import *
urlpatterns = patterns('pyi2phosts.jump.views',
(r'^([^$/]+)', 'jumper'),

View File

@ -1,4 +1,4 @@
from django.conf.urls.defaults import *
from django.conf.urls import *
from pyi2phosts.lib.rss import LatestHostsFeed
from pyi2phosts.latest.views import LatestHostsListsView

View File

@ -1,4 +1,4 @@
from django.conf.urls.defaults import *
from django.conf.urls import *
urlpatterns = patterns('pyi2phosts.postkey.views',
(r'^$', 'addkey'),

View File

@ -1,4 +1,4 @@
from django.conf.urls.defaults import *
from django.conf.urls import *
from pyi2phosts.search.views import SearchedHostsListsView
urlpatterns = patterns('',

View File

@ -1,4 +1,4 @@
from django.conf.urls.defaults import *
from django.conf.urls import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin