I am trying to run manage.py to validate models (as: manage.py validate) in the Interactive Shell of a Django project (called djangonew) using Pydev

The PYTHONPATH is set to include /djangonew ... so import djangonew and then dir(djangonew) actually gives me a name as 'settings' in the subfolder /djangonew/djangonew

but at the command-line I am unable run manage.py (and even find it)

How do I solve this issue? Thanks much

有帮助吗?

解决方案

right click on project, open menu django-> custom command

and type verify ( or other command after "manage.py")

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top