summaryrefslogtreecommitdiffstats
path: root/links/views.py
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-10-17 02:57:42 +0200
committerGravatar Tom Willemsen2011-10-17 02:57:42 +0200
commitd7f99435105fd28e730427c0e494c9607d3803a3 (patch)
treeccb6a5e6c4ab5f11747ff0cbfae8fc7a3ccefde2 /links/views.py
parent62cc00f06250478a40cf75439a33f871c6e85057 (diff)
downloaddotfiles-d7f99435105fd28e730427c0e494c9607d3803a3.tar.gz
dotfiles-d7f99435105fd28e730427c0e494c9607d3803a3.zip
Removed links module
Diffstat (limited to 'links/views.py')
-rw-r--r--links/views.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/links/views.py b/links/views.py
deleted file mode 100644
index fe0d89d..0000000
--- a/links/views.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from links.models import Bookmark
-from django.http import HttpResponse
-from django.template import Context, loader
-
-def index(request):
- bookmark_list = Bookmark.objects.all().order_by("-date")[:100]
- t = loader.get_template("links/links.html")
- c = Context({
- 'bookmarklist': bookmark_list,
- })
-
- return HttpResponse(t.render(c))