Is your feature request related to a problem? Please describe.
The current generate_django_secret_key.py used by the ansible script, does not follow best practice.
Describe the solution you'd like
I would like to use the secrets python library instead random lib.
Describe alternatives you've considered
No special alternative, according to https://docs.python.org/3/library/secrets.html it seems to be best practice.
It's also used in other well known project (e.g: https://github.com/netbox-community/netbox/blob/main/netbox/generate_secret_key.py)
Additional context
No