Guest User

YT_downloader

a guest
Jan 23rd, 2020
35
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2. File "manage.py", line 22, in <module>
  3. execute_from_command_line(sys.argv)
  4. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
  5. utility.execute()
  6. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/django/core/management/__init__.py", line 345, in execute
  7. settings.INSTALLED_APPS
  8. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/django/conf/__init__.py", line 76, in __getattr__
  9. self._setup(name)
  10. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/django/conf/__init__.py", line 63, in _setup
  11. self._wrapped = Settings(settings_module)
  12. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/django/conf/__init__.py", line 142, in __init__
  13. mod = importlib.import_module(self.SETTINGS_MODULE)
  14. File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
  15. return _bootstrap._gcd_import(name[level:], package, level)
  16. File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  17. File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  18. File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  19. File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  20. File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  21. File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  22. File "/home/arka/YouTubeDownloader/yt_downloader/downloader/settings.py", line 24, in <module>
  23. SECRET_KEY = config('SECRET_KEY')
  24. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/decouple.py", line 199, in __call__
  25. return self.config(*args, **kwargs)
  26. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/decouple.py", line 83, in __call__
  27. return self.get(*args, **kwargs)
  28. File "/home/arka/YouTubeDownloader/YTD/lib/python3.7/site-packages/decouple.py", line 68, in get
  29. raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option))
  30. decouple.UndefinedValueError: SECRET_KEY not found. Declare it as envvar or define a default value.
RAW Paste Data