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
Christopher M Reffett
go
Commits
47bec60e
Commit
47bec60e
authored
Mar 31, 2014
by
Jean Michel Rouly
Browse files
Removed dead code.
parent
87ac273f
Changes
1
Hide whitespace changes
Inline
Side-by-side
go/go/views.py
View file @
47bec60e
...
...
@@ -54,11 +54,6 @@ def error_500(request):
},
)
def
qrcode
(
url
):
img
=
qrcode
.
make
(
url
)
return
img
##############################################################################
"""
Define user views here.
...
...
@@ -142,11 +137,8 @@ def view(request, short):
url
=
get_object_or_404
(
URL
,
short__iexact
=
short
)
qrcode
=
qrcode
(
url
)
return
render
(
request
,
'view.html'
,
{
'url'
:
url
,
'qrcode'
:
qrcode
,
},
)
...
...
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