#!/usr/bin/env python
"""
Pseudo-random django secret key generator
"""
from __future__ import print_function
import random

chars = 'abcdefghijklmnopqrstuvwxyz' \
        'ABCDEFGHIJKLMNOPQRSTUVXYZ' \
        '0123456789'

SECRET_KEY = ''.join([random.SystemRandom().choice(chars) for i in range(50)])

write_file = open(".django_secret_key", "w")
write_file.write(SECRET_KEY)
write_file.close()
58ee3c084451fe9f8e05710de59a13b0d851b927
<mask token>

<mask token>
write_file.write(SECRET_KEY)
write_file.close()

<mask token>
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVXYZ0123456789'
SECRET_KEY = ''.join([random.SystemRandom().choice(chars) for i in range(50)])
write_file = open('.django_secret_key', 'w')
write_file.write(SECRET_KEY)
write_file.close()

<mask token>
from __future__ import print_function
import random
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVXYZ0123456789'
SECRET_KEY = ''.join([random.SystemRandom().choice(chars) for i in range(50)])
write_file = open('.django_secret_key', 'w')
write_file.write(SECRET_KEY)
write_file.close()

#!/usr/bin/env python
"""
Pseudo-random django secret key generator
"""
from __future__ import print_function
import random

chars = 'abcdefghijklmnopqrstuvwxyz' \
        'ABCDEFGHIJKLMNOPQRSTUVXYZ' \
        '0123456789'

SECRET_KEY = ''.join([random.SystemRandom().choice(chars) for i in range(50)])

write_file = open(".django_secret_key", "w")
write_file.write(SECRET_KEY)
write_file.close()