Skip to content

Commit e15484b

Browse files
committed
Fix some characters messing up the SECRET_KEY
1 parent c1b337b commit e15484b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comics/management/commands/generatesecretkey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Command(management.BaseCommand):
1515

1616
@staticmethod
1717
def _generate_secret_key():
18-
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_=+[\{]\{;:,<.>/?'
18+
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_=+'
1919
return get_random_string(50, chars)
2020

2121
def handle(self, *args, **options):

0 commit comments

Comments
 (0)