1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Fixed pep8

This commit is contained in:
Retspen 2015-03-27 17:12:15 +02:00
parent b9bf14fdb5
commit 56f840c893
13 changed files with 37 additions and 18 deletions

View file

@ -122,7 +122,7 @@ def account(request, user_id):
instances = Instance.objects.all()
if user.username == request.user.username:
return HttpResponseRedirect(reverse('profile'))
return HttpResponseRedirect(reverse('profile'))
if request.method == 'POST':
if 'delete' in request.POST:
@ -150,4 +150,4 @@ def account(request, user_id):
add_user_inst.save()
return HttpResponseRedirect(request.get_full_path())
return render(request, 'account.html', locals())
return render(request, 'account.html', locals())