fix secret key generator

2 jobs for master in 49 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #9113
Go-py3.7

00:00:49

 
  Lint
skipped #9114
Go-flake8
 
Name Stage Failure
failed
Go-py3.7 Test
    for conf in settings.TEMPLATES:
File "/usr/local/lib/python3.7/site-packages/django/conf/__init__.py", line 79, in __getattr__
self._setup(name)
File "/usr/local/lib/python3.7/site-packages/django/conf/__init__.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python3.7/site-packages/django/conf/__init__.py", line 176, in __init__
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
ERROR: Job failed: exit code 1