Django-db-multitenant

Latest version: v0.3.2

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.2

-------------------

- Fix packaging

0.3.1

-------------------

- Pylint
- Improve passing of arguments to logger in MySQL backend

0.3.0

-------------------

- Change API of mapper to pass tenant_name to get_db_name
- Add new Tests section in the documentation
- Rename dbname to db_name for consistency with tenant_name
- Fix bug from v2.0 on signature of get_cache_prefix

The API of the mapper has been modified to speed up parsing
and for consistency:

- ``get_dbname()`` has been renamed to ``get_db_name()``
- ``get_db_name()`` receives ``request`` and a new ``tenant_name`` argument
- ``get_cache_prefix()`` receives ``request`` and new ``tenant_name`` and
``db_name`` arguments

0.2.1

-------------------

- Fixed package name in setup.py

0.2.0

-------------------

- New PostgreSQL backend
- Improved documentation
- Examples of mappers are provided in the repository
- update_from_env arguments are now optional
- New setup.py based on Human's Ultimate Guide to setup.py
- Remove Python 2.6 support

0.1.3

-------------------

- Django 1.10 compatibility
(`8 <https://github.com/mik3y/django-db-multitenant/pull/8>`__)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.