django module settings setup | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

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.

7th Feb 2018, 3:40 PM
monotom
monotom - avatar
1 Resposta
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!
8th Oct 2018, 7:10 PM
Tanvir Ahmed
Tanvir Ahmed - avatar