In my console I can not run that command django-admin.py startproject test how do I do it? PS: I already have Python and Django installed
In my console I can not run that command django-admin.py startproject test how do I do it? PS: I already have Python and Django installed
According to the Django documentation the command is as follows:
django-admin [command] [options]
to create a project:
django-admin startproject test
This command should create a folder called test with the project.
try to run the command:
django-admin version
which should indicate if django is correctly installed and the version of it.
An alternative to django-admin is to run python manage.py command , since it allows you to do the same as django-admin, more tasks that have to do with the creation of the superuser, change password and collect static files (CSS, JPG, etc).