Additional issues deal with feed_dict deprecation.
This commit is contained in:
parent
6a2918c288
commit
18addfe969
2 changed files with 3 additions and 3 deletions
|
@ -239,8 +239,9 @@ class BlogFeed(ConservancyFeedBase):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for k, v in feed_dict.items():
|
BlogFeed.get_absolute_url = '/feeds/blog/'
|
||||||
v.get_absolute_url = '/feeds/%s/' % k
|
PressRelease.get_absolute_url = '/feeds/news/'
|
||||||
|
OmnibusFeed.get_absolute_url = '/feeds/omnibus/'
|
||||||
|
|
||||||
def view(request):
|
def view(request):
|
||||||
"""Listing of all available feeds
|
"""Listing of all available feeds
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
|
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from django.conf.urls.defaults import *
|
from django.conf.urls.defaults import *
|
||||||
from conservancy.feeds import feed_dict
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
handler404 = 'modpythoncustom.view404'
|
handler404 = 'modpythoncustom.view404'
|
||||||
|
|
Loading…
Add table
Reference in a new issue