nargessalehi98 / time-bot

0 stars 0 forks source link

KeyError #1

Open Yowgsiavka opened 2 years ago

Yowgsiavka commented 2 years ago

موقع ای که ران میشه manage.py
این ارور میاد!

Traceback (most recent call last): File "manage.py", line 22, in main() File "manage.py", line 18, in main execute_from_command_line(sys.argv) File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/django/core/management/init.py", line 446, in execute_from_command_line utility.execute() File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/django/core/management/init.py", line 386, in execute settings.INSTALLED_APPS File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/django/conf/init.py", line 92, in getattr self._setup(name) File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/django/conf/init.py", line 79, in _setup self._wrapped = Settings(settings_module) File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/django/conf/init.py", line 190, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/storage/emulated/0/time-bot-main/config/settings.py", line 22, in SECRET_KEY = env['SECRET_KEY'] KeyError: 'SECRET_KEY'

مشکل از کجاس؟

nargessalehi98 commented 2 years ago

@Yowgsiavka این یک بات تست هستش و secret key در اختیار شما نیست .

Yowgsiavka commented 2 years ago

@Yowgsiavka این یک بات تست هستش و secret key در اختیار شما نیست .

خب چطور میتونم دریافت کنم؟