Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Michel Rouly
bookshare
Commits
88d4e3a2
Commit
88d4e3a2
authored
Dec 16, 2013
by
Jean Michel Rouly
Browse files
Changed 'lookout' to 'lookouts'.
parent
51765a9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
bookshare/settings/urls.py
View file @
88d4e3a2
...
...
@@ -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+)/lookout/$'
,
'lookout'
,
name
=
'lookout'
),
url
(
r
'^u/(?P<username>\w+)/lookout
s
/$'
,
'lookout
s
'
,
name
=
'lookout
s
'
),
#### STATIC PAGES ####
# about page
...
...
bookshare/website/views.py
View file @
88d4e3a2
...
...
@@ -90,9 +90,9 @@ def index(request):
},
)
def
lookout
(
request
,
username
):
def
lookout
s
(
request
,
username
):
return
render
(
request
,
'lookout.html'
,
{
return
render
(
request
,
'lookout
s
.html'
,
{
},
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment