djaodjin-multitier is a Django application that implements shared tenancy.
Major Features:
- Dynamically select the following based on subdomain or path prefix:
- Database connection
- SMTP connection
- Templates
- URL resolvers: Dynamic path prefix (as a hack in i18n module)
The notes of the presentation at a SF Django Meetup are useful to understand how middlewares, thread locals and template loaders were used to implement multi-tier applications here.
Development
After cloning the repository, create a virtualenv environment, install the prerequisites, create and load initial data into the database, then run the testsite webapp.
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
# Create the fixtures databases and run the server
$ make initdb
$ python manage.py runserver
Release Notes
Tested with
- Python: 3.12, Django: 5.2 (LTS)
- Python: 3.14, Django: 6.0 (next)
- Python: 3.10, Django: 4.2 (legacy)
- Python: 3.9, Django: 3.2 (legacy)
0.3.2
- adds compatibillity with Django6.0
Metadata
Release files for djaodjin-multitier 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| djaodjin_multitier-0.3.2.tar.gz | 20.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djaodjin_multitier-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.8 kB
Release files / djaodjin_multitier-0.3.2.tar.gz
| Download URL | djaodjin_multitier-0.3.2.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ac558c8e979a2ced5632c70e6a720ac6503dbd185b382bbed4f656e92bf3616
|
|
BLAKE2b-256 checksum How to use checksums |
556474fb249b277b4c1bbec6756a6c422c9b70fd133ca906ed2261f56bda586e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / djaodjin_multitier-0.3.2-py3-none-any.whl
| Download URL | djaodjin_multitier-0.3.2-py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdc30cbc9c33f8dff3dbcae79c3aa398b4d71847c1a0618f62c1365edb05b233
|
|
BLAKE2b-256 checksum How to use checksums |
156d170150d2df856b2ead0c3169e6d80210ca2658259be09f305171757856ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for djaodjin-multitier 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.