Skip to content

Commit

Permalink
wl: fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayndwiga committed Nov 14, 2017
1 parent 12dde7b commit 3ab5647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wildlifelicensing/apps/payments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def get(self, request, *args, **kwargs):
#url = reverse('payments:invoice-payment', args=(application.invoice_reference,))
url = '{}?invoice={}'.format(reverse('payments:invoice-payment'),application.invoice_reference)

params = {
'redirect_url': request.GET.get('redirect_url', reverse('wl_home'))
}
params = {
'redirect_url': request.GET.get('redirect_url', reverse('wl_home'))
}

return redirect('{}&{}'.format(url, urlencode(params)))

Expand Down

0 comments on commit 3ab5647

Please sign in to comment.