Multi-tier Django app
Project description
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](http://djaodjin.com/blog/multi-tier-implementation-in-django.blog.html) 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.
$ virtualenv _installTop_ $ source _installTop_/bin/activate $ pip install -r testsite/requirements.txt $ make initdb $ python manage.py runserver
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for djaodjin-multitier-0.1.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbc9039b7035e14be54d528cd5da492c5d0412128cbacdf5ffb11443aa5bad8 |
|
MD5 | b5cd8fe133788483c7c745cc92e7f65b |
|
BLAKE2b-256 | 2b995f31afc2838c50e24a9866a1ded0c4ca086fac04fee5ab0e9ec86b021a30 |