Question

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

Was it helpful?

Solution

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top