Metadata-Version: 2.1
Name: djaodjin-multitier
Version: 0.1.14
Summary: Multi-tier Django app
Home-page: https://github.com/djaodjin/djaodjin-multitier/
Download-URL: https://github.com/djaodjin/djaodjin-multitier/tarball/0.1.14
Author: DjaoDjin inc.
Author-email: support@djaodjin.com
License: BSD
Description-Content-Type: text/markdown
Requires-Dist: Django>=1.7
Requires-Dist: djaodjin-deployutils>=0.5.6

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
