29👍
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
1👍
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.
- Python import as tuple
- Using a custom form in a modelformset factory?
- Multiple default values specified for column "id" of the table
- How to test a model that has a foreign key in django?
0👍
With this command:
pip install Django==1.8.2
the problem will be solved.
Django==1.9.2 does not support some commands.
Source:stackexchange.com