I need to create a Django Project with a different files and folder structure.
In particular I need to add 2 folders: qqapp
and qqproject
when creating a new app through the startapp
command, each containing some base files.
How can I override the base commands or add a custom one?
My current solution is editing the base commands files (changing dir name for default folders) django/core/management/commands/startapp|project.py,
but I think this is bad idea.
there is a documentation for this: https://docs.djangoproject.com/en/dev/howto/custom-management-commands/