¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
django module settings setup
hi to who’s reading this question. Does anyone know how to set up django module settings. I ‘ve been hitting my head on this. Although I made several attempts to set the environment for django, nothing has revealed itself. Here’s the error in summary: ‘Requested setting INSTALLED_APPS, you must either define the django environment variables or call settings. configure()’ I tried both but whenever I entered django-admin this showed up. Any solution would be appreciated.
1 Respuesta
0
Hello, it is likely the problem is being caused by you trying to access the settings via an environment variable without exporting it. Here's a link that might help: https://stackoverflow.com/questions/47700347/django-core-exceptions-improperlyconfigured-requested-setting-use-i18n-but-set?rq=1
Take a look at the solution. Hope it helps and let us know if it works!