Answer the question
In order to leave comments, you need to log in
Django custom commands
Good afternoon!
django 1.3 has a wonderful interface for creating custom commands, it is described in the manual and should work, but for some reason it doesn't work for me.
It works if you put the commands in the default django directory, mine is /usr/local/… and so on.
Then the command becomes available and works from manage.py, otherwise manage.py does not see it.
Maybe somehow you need to configure django in a special way, with a virtual environment or something else?
I just did startproject, startapp and that's it.
Thank you!
Answer the question
In order to leave comments, you need to log in
app/managment/commands/__init__.py
app/managment/commands/test_command.py
this path - init must be.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question