3 ms·
I have few issues with this: https://github.com/lincolnloop/django-layout https://github.com/lincolnloop/django-layout This structure leaves manage.py in the
by est 14y ago
I have few issues with this:
https://github.com/lincolnloop/django-layout https://github.com/lincolnloop/django-layout
This structure leaves manage.py in the root path. Which mean other dirs will pollute this area, like run/, deploy/, log/, config/, lib/, bin/, cronjobs/, etc. You dirs woud stack to a long list.
I would suggest something like this:
root/
src/
manage.py
lib/
run/
docs/
config/
- raverbashing 14y agoYeah, this is a Django thing, still, you can put your Django project one directory deep in your project tree and do as you said.
- ipmb 14y agoYeah, a lot of this is personal preference and obviously, there's a million ways to do it. Our perspective is that manage.py is a script (you never import it as a Python module) so we bump it out and install to your path using setup.py.