Django Do not run "django-admin.py startproject test" command

0

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

    
asked by Jesus M. Carreón Dircio 03.07.2018 в 05:45
source

2 answers

0

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.

    
answered by 03.07.2018 в 21:00
0

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).

    
answered by 07.07.2018 в 16:17