Django-admin.py execution error on Django 1.9

Asked

Viewed 709 times

0

I am trying to learn Jango and would like to understand this notification I get every time I run the Django-admin command!

Note that only Django core Commands are Listed as Settings are not properly configured (error: Requested Setting INSTALLED_APPS, but Settings are not configured. You must either define the Environment variable DJANGO_SETTINGS_MODULE or call Settings.configure() before accessing Settings.).

use python 2.7 and Django 1.9. Someone could give a light?

  • puts your project directory tree and the file Settings.py, this is a configuration error

1 answer

0


You can spin django-admin startproject mysite (Note that it is not Django-admin.py), because if Django was installed by Pip, there is an executable in C:/Python34/Scripts that is already in its "PATH" environment variable (if it is not, add it will work like this)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.