Skip to main content

Multi-tier Django app

Project description

djaodjin-multitier is a Django application that implements shared tenancy.

Major Features:

  • Databases connections: Dynamically created based on subdomain or path prefix
  • Templates: Selected based on subdomain or path prefix
  • 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-2.7 _installTop_ $ source _installTop_/bin/activate $ pip install -r requirements.txt $ make initdb $ python manage.py runserver

Project details


Download files

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

Files for djaodjin-multitier, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size djaodjin-multitier-0.1.6.tar.gz (14.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page