Fixed typeerror in accountmodal

This commit is contained in:
Alexander Werner 2017-08-17 20:12:22 +02:00
parent 9f04b7b557
commit 6c58878646

View File

@ -88,7 +88,7 @@ def account_modal_view(request, loc_pk):
context = {
'accounts': accounts,
'loc_pk': loc_pk,
'pks': ','.join([account.pk for account in accounts]),
'pks': ','.join([str(account.pk) for account in accounts]),
}
return render(request, 'billard/accountmodal.html', context=context)