Skip to content

duplxey/django-multi-tenant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Multi-tenant App with Django

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Spin up a PostgreSQL database using Docker:

    $ docker run --name sprinty-postgres -p 5432:5432 \
        -e POSTGRES_USER=sprinty -e POSTGRES_PASSWORD=complexpassword123 \
        -e POSTGRES_DB=sprinty -d postgres
  3. Populate the database:

    $ python manage.py populate_db
  4. Your tenants should be accessible at the following URLs:

  5. Tenant information including admin credentials, can be found in tenants.json file.

About

Implement multi-tenancy in Django using the django-tenants & django-tenant-users package.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages