The error message
suggests you did not configure a settings module. Do you have an environment variable "
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.
suggests you did not configure a settings module. Do you have an environment variable "
DJANGO_SETTINGS_MODULE"?Em qua, 9 de out de 2019 às 08:29, Ismael Martinez <elmaquito97@gmail.com> escreveu:
hi everyone, i'm currently working on a project on django. but i'm struggeling to acces to my app on the navigator--i already tried to change path and tried to work on a virtual env but nothing work .also launch mysql and apache with xampp but this what the terminal say:PS Microsoft.PowerShell.Core\FileSystem::\\nas30-001\10 Support Engineering\06-PHTF USERS\PHT Toulouse\Ismael\IODA\Application IODA\IODA> py -m django runserverTraceback (most recent call last):File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main"__main__", mod_spec)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_codeexec(code, run_globals)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\__main__.py", line 9, in <module>management.execute_from_command_line()File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\__init__.py", line 381, in execute_from_command_lineutility.execute()File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\__init__.py", line 375, in executeself.fetch_command(subcommand).run_from_argv(self.argv)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\base.py", line 323, in run_from_argvself.execute(*args, **cmd_options)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\commands\runserver.py", line 60, in executesuper().execute(*args, **options)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\base.py", line 364, in executeoutput = self.handle(*args, **options)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\commands\runserver.py", line 67, in handleif not settings.DEBUG and not settings.ALLOWED_HOSTS:File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\conf\__init__.py", line 79, in __getattr__self._setup(name)File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\conf\__init__.py", line 64, in _setup% (desc, ENVIRONMENT_VARIABLE))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.PS Microsoft.PowerShell.Core\FileSystem::\\nas30-001\10 Support Engineering\06-PHTF USERS\PHT Toulouse\Ismael\IODA\Application IODA\IODA>
if you guys have an idea pls text me. thanks you <.3
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6c77a027-e510-4966-8831-a5932fdf5752%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMpbhxzkNg%2BSJngeLV-rhwdyGJbLV5e_c4GVAHAxTUHg_jYKnw%40mail.gmail.com.
No comments:
Post a Comment