summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-08 00:01:06 +0200
committerDusty Phillips <buchuki@gmail.com>2008-10-08 00:01:06 +0200
commitedc9dfb7a49c91f7db3c4a3a568e218dffae70cf (patch)
treebf5190d3159333efa0aa9186eb54c2577c909d4f /packages
parent7d237665c652514691f475ffba0ad2f059a85cf2 (diff)
downloadarchweb-edc9dfb7a49c91f7db3c4a3a568e218dffae70cf.tar.gz
archweb-edc9dfb7a49c91f7db3c4a3a568e218dffae70cf.tar.xz
drop id based searching
Diffstat (limited to 'packages')
-rw-r--r--packages/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py
index 4491342..10bf876 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -32,7 +32,7 @@ def update(request):
len(ids), mode))
return HttpResponseRedirect('/packages/search/')
-def details(request, pkgid=0, name='', repo='', arch=''):
+def details(request, name='', repo='', arch=''):
if pkgid != 0:
pkg = get_object_or_404(Package, id=pkgid)
elif all([name, repo, arch]):