forked from DGNum/gestioCOF
Fix: inscriptions bda
Problèmes d'encodage sur la fonction `_hash_queryset`
This commit is contained in:
parent
cf430b5d3b
commit
d89493856f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def etat_places(request, tirage_id):
|
|||
|
||||
|
||||
def _hash_queryset(queryset):
|
||||
data = serializers.serialize("json", queryset).encode()
|
||||
data = serializers.serialize("json", queryset).encode('utf-8')
|
||||
hasher = hashlib.sha256()
|
||||
hasher.update(data)
|
||||
return hasher.hexdigest()
|
||||
|
|
Loading…
Reference in a new issue