mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-09-01 08:32:13 +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',
|
urlpatterns = patterns('pyi2phosts.jump.views',
|
||||||
(r'^([^$/]+)', 'jumper'),
|
(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.lib.rss import LatestHostsFeed
|
||||||
from pyi2phosts.latest.views import LatestHostsListsView
|
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',
|
urlpatterns = patterns('pyi2phosts.postkey.views',
|
||||||
(r'^$', 'addkey'),
|
(r'^$', 'addkey'),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from django.conf.urls.defaults import *
|
from django.conf.urls import *
|
||||||
from pyi2phosts.search.views import SearchedHostsListsView
|
from pyi2phosts.search.views import SearchedHostsListsView
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
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:
|
# Uncomment the next two lines to enable the admin:
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user