aboutsummaryrefslogtreecommitdiffstats
path: root/piccast/feeds/views.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2011-04-21 01:51:32 -0400
committerbnewbold <bnewbold@robocracy.org>2011-04-21 01:51:32 -0400
commit08d8e7ebf5845ea8e7dd2e0eaaf61b3f9a8ea1ce (patch)
tree8b03790ad27b5838f84deec63e518150b8d7b08d /piccast/feeds/views.py
parent0c4b1b64492cce80432cf0d51054512792a1701f (diff)
downloadpiccast-08d8e7ebf5845ea8e7dd2e0eaaf61b3f9a8ea1ce.zip
piccast-08d8e7ebf5845ea8e7dd2e0eaaf61b3f9a8ea1ce.tar.gz
basic front page
Diffstat (limited to 'piccast/feeds/views.py')
-rw-r--r--piccast/feeds/views.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/piccast/feeds/views.py b/piccast/feeds/views.py
index 4a80144..de335d6 100644
--- a/piccast/feeds/views.py
+++ b/piccast/feeds/views.py
@@ -3,6 +3,15 @@ from django.core import serializers
from models import *
JSONSerializer = serializers.get_serializer("json")
+basic_html = """
+<html>
+<head><title>PicCast</title></head>
+<body>
+<h1>PicCast</h1>
+</html>
+"""
+def basic_frontpage(request):
+ return HttpResponse(basic_html);
def newest_feeds(request):
feeds = PicFeed.objects.order_by('-created')[:20]