aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-10 20:57:01 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-10 20:57:01 +0200
commitcf75a67914798739e22e90ec134bd7a6b822b8b7 (patch)
treec95c20667caf32a4bc1d202b429cabbd290923a3 /web/collagen/views.py
parentPrepared urls and settings for templates (diff)
downloadcollagen-cf75a67914798739e22e90ec134bd7a6b822b8b7.tar.gz
collagen-cf75a67914798739e22e90ec134bd7a6b822b8b7.tar.bz2
collagen-cf75a67914798739e22e90ec134bd7a6b822b8b7.zip
Basic functions of web working
This is really big commit, since there was no use putting in absolutely non functional code until now. Some templates might be simplified later on...
Diffstat (limited to 'web/collagen/views.py')
-rw-r--r--web/collagen/views.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/web/collagen/views.py b/web/collagen/views.py
deleted file mode 100644
index 9c231bd..0000000
--- a/web/collagen/views.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Create your views here.
-
-from django.shortcuts import render_to_response
-from web.collagen.models import Package
-
-def index(request):
- last_pkgs = Package.objects.all().order_by('-id')[:5]
- return render_to_response('index.html', {'latest_packages': last_pkgs})