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
57b8bb10
Commit
57b8bb10
authored
Jan 27, 2015
by
Daniel W Bond
Browse files
core suburls
parent
0275a3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/settings/urls.py
View file @
57b8bb10
...
...
@@ -17,13 +17,12 @@ urlpatterns = patterns('',
# app-level urls
url
(
r
'^share/'
,
include
(
'trades.urls'
)),
url
(
r
'^student/'
,
include
(
'core.urls'
)),
# student urls?
#### USER PAGES ####
# home page
url
(
r
'^$'
,
TemplateView
.
as_view
(
template_name
=
'index.html'
),
name
=
'homepage'
),
# user profile page
url
(
r
'^u/(?P<username>\w+)/?$'
,
'core.views.profile'
,
name
=
'profile'
),
# create lookout
url
(
r
'^u/(?P<username>\w+)/create-lookout/?$'
,
'lookouts.views.create_lookout'
,
name
=
'create_lookout'
),
...
...
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