Commit 47bec60e authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Removed dead code.

parent 87ac273f
......@@ -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,
},
)
......
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