Commit a3eab982 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Lookouts view shouldn't take an argument

parent 278433e3
......@@ -26,7 +26,7 @@ urlpatterns = patterns('website.views',
# book listing page
url(r'^u/(?P<username>\w+)/listings/(?P<book_id>\w+)$', 'listing', name = 'listing'),
# manage books you're looking for
url(r'^u/(?P<username>\w+)/lookouts/$', 'lookouts', name = 'lookouts'),
url(r'^lookouts/$', 'lookouts', name = 'lookouts'),
#### STATIC PAGES ####
# about page
......
......@@ -123,7 +123,7 @@ def index(request):
# User's lookouts page.
@login_required
def lookouts(request, username):
def lookouts(request):
return render(request, 'lookouts.html', {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment