Project Structure
Below is the structure of a new project.
.
├── compose
├── django_app
├── docs
├── frontend
├── manage.py
├── package-lock.json
├── package.json
├── requirements.in
├── requirements.txt
composecontains config files forDocker Composedjango_appcontains Django apps, I will talk about it in the next section.docscontains all doc stufffrontendis a NPM project bundled by Vite.- Some files are omitted for brevity.
django_app
Below is the files in the django_app directory.
.
├── __init__.py
├── asgi.py
├── celery.py
├── cms
├── core
├── demo_celery
├── demo_tasks
├── settings.py
├── static
├── templates
├── tests
├── urls.py
├── users
└── wsgi.py
The django_app contains below Django apps
corecontains some core code.userscontains user models and views.cmscontains some page models based on Wagtail CMS.demo_tasksis a Django app to show you how to makeStimulus,Turbowork with Django.demo_celeryis a Django app to show you how to makeStimulus,Turbowork with Celery.
The django_app also contains below files and directory
celery.pyis entry file for Celery.settings.pyis the Django settings file.staticcontains static assets.templatescontains all template files.testscontains all testing stuff.