mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-09 06:18:05 +00:00
154eb7f7c2
django.conf.urls.defaults is deprecated since django 1.5 old: from django.conf.urls.defaults import * new: from django.conf.urls import *
10 lines
283 B
Python
10 lines
283 B
Python
from django.conf.urls import *
|
|
from pyi2phosts.lib.rss import LatestHostsFeed
|
|
from pyi2phosts.latest.views import LatestHostsListsView
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', LatestHostsListsView.as_view(), name='latest'),
|
|
url(r'^rss/$', LatestHostsFeed(), name='latest-rss'),
|
|
|
|
)
|