[Oi-commits] r469 - in trunk: . st templates/feeds

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Thu Jul 19 14:39:39 EEST 2007


Author: erenturkay
Date: Thu Jul 19 14:39:39 2007
New Revision: 469

Added:
   trunk/templates/feeds/main.html
Modified:
   trunk/st/views.py
   trunk/urls.py
Log:
/feeds içeriğimiz olsun, gelince dolduracağım

Modified: trunk/st/views.py
=================================================================
--- trunk/st/views.py	(original)
+++ trunk/st/views.py	Thu Jul 19 14:39:39 2007
@@ -96,5 +96,8 @@
     web_url = WEB_URL
     return render_response(request, 'videobox.html', locals())
 
+def feeds_main(request):
+    return render_response(request, "feeds/main.html")
+
 def test(request):
     return render_response(request, 'test.html')

Modified: trunk/urls.py
=================================================================
--- trunk/urls.py	(original)
+++ trunk/urls.py	Thu Jul 19 14:39:39 2007
@@ -135,6 +135,7 @@
     (r'^media/(.*)$', 'django.views.static.serve', {'document_root': '%s/media' % DOCUMENT_ROOT, 'show_indexes': True}),
 
     #Feeds
+    (r'^feeds/$', 'oi.st.views.feeds_main'),
     (r'^(?P<url>.*)/haber/$', 'django.contrib.syndication.views.feed', {'feed_dict': news_feed_dict}),
     (r'^(?P<url>.*)/ia/$', 'django.contrib.syndication.views.feed', {'feed_dict': fs_feed_dict}),
     (r'^(?P<url>.*)/oyun/$', 'django.contrib.syndication.views.feed', {'feed_dict': game_feed_dict}),


More information about the Oi-commits mailing list