Skip to main content

The foundation for building a SaaS product with Django

Project description

Django SaaS (Base)

The foundation for building a SaaS product with Django.

Install

pip install django-saas-base

Then add it into your Django project settings.py:

INSTALLED_APPS = [
    # ...
    'saas_base',
    'saas_base.identity',
    'saas_base.tenancy',
]

AUTHENTICATION_BACKENDS = [
    'saas_base.auth.backends.ModelBackend',
]

MIDDLEWARE = [
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'saas_base.middleware.HeaderTenantIdMiddleware',
    'saas_base.middleware.TenantMiddleware',
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_saas_base-1.0.0a1.tar.gz (95.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_saas_base-1.0.0a1-py3-none-any.whl (129.0 kB view details)

Uploaded Python 3

File details

Details for the file django_saas_base-1.0.0a1.tar.gz.

File metadata

  • Download URL: django_saas_base-1.0.0a1.tar.gz
  • Upload date:
  • Size: 95.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_saas_base-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 cdf0612a4acd2a11ebccd0b4f930a6fd8b635ffea0f10a904fbaf0cf3851a2a5
MD5 017ea7192c577738742bd076f8c53e5a
BLAKE2b-256 1ab4f00cc8d6b40cd5a084899c1fa33e842a91912d7126e3dacd7aaa6219a0e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_saas_base-1.0.0a1.tar.gz:

Publisher: pypi.yml on django-saas/django-saas-base

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_saas_base-1.0.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_saas_base-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 1330ad1439b69008cb4128cc6705ca24fee9963ae4445249f476e58b95bb2eb5
MD5 2c71f9707ccc966e5ec9d5a2e9db2828
BLAKE2b-256 9fb2536e646a2ddd44a344fb2eca15b5ea7fe9d82bf455c948afad05901e0c07

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_saas_base-1.0.0a1-py3-none-any.whl:

Publisher: pypi.yml on django-saas/django-saas-base

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page