Pre-requisites

Django is installed on your machine. Please follow these instructions for Django + Postgres + Nginx + Gunicorn installation

Structure Overview :

  • One Django project

  • Multiple apps

  • One admin interface per app

Check Django project configuration

In our case a central Django project has been configured using the following directory configuration :

usr1@server:$ cd ~/myprojectdir
usr1@server:~/myprojectdir$ ls

The project structure looks like this.

manage.py
myproject
├── __init__.py
├── __pycache__
├── asgi.py
├── settings.py
├── urls.py
├── wsgi.py
myprojectenv
├── bin
├── lib
├── pyvenv.cfg
static

When new apps are added, specific directory is created for the app.