ConoscereLinux / asso-django

An open source Django Framework to manage Events, Member and basic Accounting for an Italian Association
GNU General Public License v3.0
0 stars 3 forks source link

Django project structure #17

Closed giobber closed 1 year ago

giobber commented 1 year ago

Actually project has this structure (as presented in Django tutorial)

asso-django/
  admin/
  academy/
  common/
  ...
  website/
  manage.py

Django REST Framework propose another way

asso-django/
  admin/
    academy/
    common/
    ...
    website/
  manage.py

This way all apps are contained inside admin package (which could be called asso)

Also this structure permits to convert common app (which is never used as app) in a normal python module

giobber commented 1 year ago

Choose the hybrid package/rest framework way

asso-django/
- .git
- docs/
- asso/
  - core/ (old common package) 
  - academy/
  - membership/
  - website/
  - settings.py
- manage.py
- pyproject.toml