Fixed typeerror in accountmodal
This commit is contained in:
parent
9f04b7b557
commit
6c58878646
@ -88,7 +88,7 @@ def account_modal_view(request, loc_pk):
|
|||||||
context = {
|
context = {
|
||||||
'accounts': accounts,
|
'accounts': accounts,
|
||||||
'loc_pk': loc_pk,
|
'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)
|
return render(request, 'billard/accountmodal.html', context=context)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user