Closed dhimmel closed 5 years ago
It seems to make more sense to put all files generated by django-admin startproject
in root directory of the repo. Like this:
hetmech/
├── hetmech
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── manage.py
I prefer hetmech
as the project name (instead of hetmech_backend
) because the repo is named hetmech-backend
already.
Thanks @dongbohu.
I rearranged the repo according to your suggested architecture. I also renamed hetmech_backend
to hetmech
. To confirm, this won't create any issues with our existing python package named hetmech right? For example, we will likely want to do import hetmech
and have the hetmech package imported rather than the directory here imported.
@dongbohu why don't you do a full review and if you approve, I will merge.
@dongbohu ready for re-review
I created a blank project using:
This was inside the following environment:
Which installed
Then I renamed
hetmech_backend
todjango
. Paging @dongbohu, should the content ofdjango
be moved to the root?