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:
parent
34d3243fcc
commit
154eb7f7c2
@ -1,4 +1,4 @@
|
||||
from django.conf.urls.defaults import *
|
||||
from django.conf.urls import *
|
||||
|
||||
urlpatterns = patterns('pyi2phosts.jump.views',
|
||||
(r'^([^$/]+)', 'jumper'),
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from django.conf.urls.defaults import *
|
||||
from django.conf.urls import *
|
||||
|
||||
urlpatterns = patterns('pyi2phosts.postkey.views',
|
||||
(r'^$', 'addkey'),
|
||||
|
@ -1,4 +1,4 @@
|
||||
from django.conf.urls.defaults import *
|
||||
from django.conf.urls import *
|
||||
from pyi2phosts.search.views import SearchedHostsListsView
|
||||
|
||||
urlpatterns = patterns('',
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user