Skip to content

MohamedMeftouh21/django_tenant

Repository files navigation

Django-tenants

I created an application using Django Tenants(docs) for multi-tenancy with PostgreSQL Schemas, ensuring data isolation. Tenants can be created using a RESTful API implemented with Django Rest Framework.

Getting started

Requirements

You need to install Docker and Docker-Compose.

Build

         docker-compose up -d 

Migrate databases

         docker-compose exec web python manage.py migrate

Createsuperuser

         docker-compose exec web python manage.py createsuperuser

Create_tenant

         docker-compose exec web python manage.py create_tenant 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published