diff options
author | Stanislav Ochotnicky <sochotnicky@gmail.com> | 2009-08-10 20:57:01 +0200 |
---|---|---|
committer | Stanislav Ochotnicky <sochotnicky@gmail.com> | 2009-08-10 20:57:01 +0200 |
commit | cf75a67914798739e22e90ec134bd7a6b822b8b7 (patch) | |
tree | c95c20667caf32a4bc1d202b429cabbd290923a3 /web/collagen/views.py | |
parent | Prepared urls and settings for templates (diff) | |
download | collagen-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.py | 8 |
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}) |