Skip to content

Commit

Permalink
FIX: pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Segelzwerg <[email protected]>
  • Loading branch information
Segelzwerg committed Dec 18, 2024
1 parent 98d9ed8 commit d15f0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invoice/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def handle_no_permission(self):
return HttpResponseRedirect(reverse('customer-list'))
next_url = reverse('customer-update', args=[self.kwargs['pk']])
base_url = reverse('login')
url = '{}?{}'.format(base_url, urlencode({'next': next_url}))
url = '{}?{}'.format(base_url, urlencode({'next': next_url})) # pylint: disable=consider-using-f-string
return HttpResponseRedirect(url)

def get_context_data(self, **kwargs):
Expand Down

0 comments on commit d15f0d5

Please sign in to comment.