niloofar
niloofar

Reputation: 2334

django "python manage.py validate" error : unknown command 'validate'

With running this command:

python manage.py validate

I faced with this error:

Unknown command: 'validate'

What should I do now?

For more explanations:

Upvotes: 11

Views: 7918

Answers (3)

niloofar
niloofar

Reputation: 2334

With this command:

pip install Django==1.8.2

the problem will be solved. Django==1.9.2 does not support some commands.

Upvotes: 0

niloofar
niloofar

Reputation: 2334

With python manage.py these commands are listed:

Available subcommands:

[auth]

changepassword

createsuperuser

[django]

check

compilemessages

createcachetable

dbshell

diffsettings

dumpdata

flush

inspectdb

loaddata

makemessages

makemigrations

migrate

sendtestemail

shell

showmigrations

sqlflush

sqlmigrate

sqlsequencereset

squashmigrations

startapp

startproject

test

testserver

[sessions]

clearsessions

[staticfiles]

collectstatic

findstatic

runserver

There is no "validate" command in the list.

Upvotes: 1

Ahmed Hosny
Ahmed Hosny

Reputation: 1172

I think python manage.py validate is deprecated since 1.7, you can use python manage.py check

https://docs.djangoproject.com/en/1.7/ref/django-admin/#validate

Upvotes: 29

Related Questions