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
SRCT
go
Commits
5a8aa75b
Unverified
Commit
5a8aa75b
authored
Mar 27, 2017
by
David Haynes
Browse files
Update some old comments to be more "percise"
- This auto add closing "" plugin for vim is amazing
parent
844c403a
Changes
2
Hide whitespace changes
Inline
Side-by-side
go/go/views.py
View file @
5a8aa75b
...
...
@@ -46,7 +46,7 @@ def index(request):
# Grab a list of all the URL's that are currently owned by the user
urls
=
URL
.
objects
.
filter
(
owner
=
request
.
user
.
registereduser
)
# Render my_links
.html
passing the list of URL's and Domain to the template
# Render my_links passing the list of URL's and Domain to the template
return
render
(
request
,
'core/index.html'
,
{
'urls'
:
urls
,
'domain'
:
domain
,
...
...
go/settings/urls.py
View file @
5a8aa75b
...
...
@@ -31,7 +31,7 @@ urlpatterns = [
# /signup - Signup page for access. Cached for 15 minutes
url
(
r
'^signup/?$'
,
cache_page
(
60
*
15
)(
go
.
views
.
signup
),
name
=
'signup'
),
# /new - My-Links page, view and review links.
# /new
Link
- My-Links page, view and review links.
url
(
r
'^newLink/?$'
,
go
.
views
.
new_link
,
name
=
'new_link'
),
# /myLinks - My-Links page, view and review links.
...
...
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