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 runserver
Traceback (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_code
    exec(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_line
    utility.execute()
  File 
"C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\__init__.py",
 
line 375, in execute
    self.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_argv
    self.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 execute
    super().execute(*args, **options)
  File 
"C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\base.py",
 
line 364, in execute
    output = 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 handle
    if 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+unsubscr...@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.

Reply via email to