Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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 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!