Django custom control command not showing up in production

I wrote a custom management command for django. Locally with my dev settings everything works fine. Now I have deployed my project to a production server and the control command is not displayed, therefore not available. But I didn't get the project deployment error (syncdb).

Any ideas where I might try to start searching? Is there a special command that all custom control commands are "automatically recognized"?

- Edit -

Solved and documented here

+2


a source to share


1 answer


Two ideas for you:



  • The file is settings.py

    either local_settings.py

    different on the production server and does not initialize the application with its custom command.
  • This is due to being DEBUG

    enabled / disabled. Do you have any variable that can affect this?
0


a source







All Articles