diff options
author | Ismael Carnales <icarnales@gmail.com> | 2009-10-30 18:32:25 -0200 |
---|---|---|
committer | Ismael Carnales <icarnales@gmail.com> | 2009-11-09 22:24:41 -0200 |
commit | b4999b495e828ff68a5c93f65a39efad5b37dcea (patch) | |
tree | 8b9455454362b8d66e11f7983b2b9d8b4318f411 /devel/views.py | |
parent | 7cd5c1f5a6dacd1aeab1a9a30e9af79e7e294482 (diff) |
changed landing view
- moved devel.views.siteindex to public.views.index
- using template from public view with added devel menu
- added extra styles and images
Diffstat (limited to 'devel/views.py')
-rw-r--r-- | devel/views.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/devel/views.py b/devel/views.py index 0a4074e0..9ba4f2cb 100644 --- a/devel/views.py +++ b/devel/views.py @@ -65,15 +65,6 @@ def change_profile(request): return render_to_response('devel/profile.html', RequestContext(request, {'form': form})) -def siteindex(request): - news = News.objects.order_by('-postdate', '-id')[:10] - pkgs = Package.objects.exclude(repo__name__iexact='testing').order_by( - '-last_update')[:15] - repos = Repo.objects.all() - return render_to_response('devel/siteindex.html', - RequestContext(request, - {'news_updates': news, 'pkg_updates': pkgs, 'repos': repos})) - def mirrorlist(request): mirrors = Mirror.objects.all() return render_to_response('devel/mirrorlist.html', |