· 6 years ago · Jun 20, 2019, 12:38 PM
1remote: -----> $ python manage.py collectstatic --noinput
2remote: Traceback (most recent call last):
3remote: File "/app/.heroku/python/lib/python3.6/site- packages/django/core/management/__init__.py", line 204, in fetch_command
4remote: app_name = commands[subcommand]
5remote: KeyError: 'collectstatic'
6remote: During handling of the above exception, another exception
7occurred:
8remote: Traceback (most recent call last):
9remote: File "manage.py", line 21, in <module>
10remote: main()
11remote: File "manage.py", line 17, in main
12remote: execute_from_command_line(sys.argv)
13remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in
14execute_from_command_line
15remote: utility.execute()
16remote: File "/app/.heroku/python/lib/python3.6/site- packages/django/core/management/__init__.py", line 375, in execute
17remote: self.fetch_command(subcommand).run_from_argv(self.argv)
18remote: File "/app/.heroku/python/lib/python3.6/site- packages/django/core/management/__init__.py", line 211, in fetch_command
19remote: settings.INSTALLED_APPS
20remote: File "/app/.heroku/python/lib/python3.6/site- packages/django/conf/__init__.py", line 79, in __getattr__
21remote: self._setup(name)
22remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 66, in _setup
23remote: self._wrapped = Settings(settings_module)
24remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 176, in __init__
25remote: raise ImproperlyConfigured("The SECRET_KEY setting must
26not be empty.")
27remote: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY
28setting must not be empty.