Commit 8b9efea6 authored by jocelyn's avatar jocelyn

fixes #80 ayé, ça remarche :-)


git-svn-id: svn://marvin.crapouillou.net/lettravox/trunk@75 7fa04f7f-7541-4a08-844f-dcbc5afaef51
parent 7405ff01
# -*- coding: utf-8 -*-
from LettraVox.texte.models import Texte
try:
from django.contrib.syndication.feeds import Feed
except ImportError:
from django.contrib.syndication.views import Feed
from django.contrib.syndication.views import Feed
import settings
......
......@@ -3,7 +3,8 @@ from django.conf.urls.defaults import *
from django.contrib.admin.views.main import *
from django.conf import settings
from django.contrib import auth, admin
import django.contrib.syndication.views
from django.contrib.syndication.views import Feed
from syndication import RssTextes
import tagging
......@@ -66,7 +67,7 @@ urlpatterns += patterns('django.views',
)
# Syndication rss
urlpatterns += patterns('django.contrib.syndication.views',
(r'^syndication/(?P<url>.*)/$', 'feed',
(r'^syndication/(?P<url>.*)/$', 'Feed',
{'feed_dict': flux}),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment