You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been tryign to use asgi server to run websocket in production and kept gettign error. wen though the example and that is when I realized that this could be issue with the way the asgi application is set, Is it all right the way schema is loaded before the django application is mounted?
tried this daphne example:application -b 0.0.0.0 -p 8000 command in example directory and it is falling. Django.core.exceptions.ImproperlyConfigured: Requested setting DEBUG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
I dont know coz I dont see such issue maybe someone know how I can run production asgi server or that just people using django runserver in production
The text was updated successfully, but these errors were encountered:
I have been tryign to use asgi server to run websocket in production and kept gettign error. wen though the example and that is when I realized that this could be issue with the way the asgi application is set, Is it all right the way schema is loaded before the django application is mounted?
tried this
daphne example:application -b 0.0.0.0 -p 8000
command in example directory and it is falling.Django.core.exceptions.ImproperlyConfigured: Requested setting DEBUG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
I dont know coz I dont see such issue maybe someone know how I can run production asgi server or that just people using django runserver in production
The text was updated successfully, but these errors were encountered: