irongit
Explore
Docs
Sign in
Register
huncholane
/
svelto
Public
A prebuilt stack for Django + Tailwind + Svelte
Code
Commits
Branches
Tags
546f006c42432b9087d5463d1d0164a3f4eb1b66
main
svelto
/
create_secret_key.py
5 lines
176 B
Python
Raw
Download
History
1
from
django
.
core
.
management
.
utils
import
get_random_secret_key
2
3
4
with
open
(
'
backend/backend/secret_key.py
'
,
'
w
'
)
as
f
:
5
f
.
write
(
f
"
SECRET_KEY = '
{
get_random_secret_key
(
)
}
'
"
)