diff options
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}) |