{"id":15041245,"url":"https://github.com/djaodjin/djaodjin-multitier","last_synced_at":"2025-07-03T17:08:57.548Z","repository":{"id":30033421,"uuid":"33582419","full_name":"djaodjin/djaodjin-multitier","owner":"djaodjin","description":"Shared tenancy for Django","archived":false,"fork":false,"pushed_at":"2025-04-07T19:34:56.000Z","size":220,"stargazers_count":12,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-07T19:41:52.035Z","etag":null,"topics":["database","django","multi-tenancy"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djaodjin.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-08T03:24:58.000Z","updated_at":"2025-04-07T19:35:00.000Z","dependencies_parsed_at":"2025-04-07T19:46:34.899Z","dependency_job_id":null,"html_url":"https://github.com/djaodjin/djaodjin-multitier","commit_stats":{"total_commits":188,"total_committers":4,"mean_commits":47.0,"dds":0.0478723404255319,"last_synced_commit":"61e1fd06d7fb416770c08ccc0878aa9b21e6c49b"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaodjin%2Fdjaodjin-multitier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaodjin%2Fdjaodjin-multitier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaodjin%2Fdjaodjin-multitier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaodjin%2Fdjaodjin-multitier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djaodjin","download_url":"https://codeload.github.com/djaodjin/djaodjin-multitier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248949899,"owners_count":21188171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","django","multi-tenancy"],"created_at":"2024-09-24T20:45:48.455Z","updated_at":"2025-07-03T17:08:57.532Z","avatar_url":"https://github.com/djaodjin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"djaodjin-multitier is a Django application that implements shared tenancy.\n\nMajor Features:\n\n  - Dynamically select the following based on subdomain or path prefix:\n      * Database connection\n      * SMTP connection\n      * Templates\n  - URL resolvers: Dynamic path prefix (as a hack in i18n module)\n\nThe [notes](http://djaodjin.com/blog/multi-tier-implementation-in-django.blog.html)\nof the presentation at a SF Django Meetup are useful to understand how\nmiddlewares, thread locals and template loaders were used to implement\nmulti-tier applications here.\n\nDevelopment\n===========\n\nAfter cloning the repository, create a virtualenv environment, install\nthe prerequisites, create and load initial data into the database, then\nrun the testsite webapp.\n\n    $ python -m venv .venv\n    $ source .venv/bin/activate\n    $ pip install -r testsite/requirements.txt\n\n    # Create the fixtures databases and run the server\n    $ make initdb\n    $ python manage.py runserver\n\nRelease Notes\n=============\n\n\nTested with\n\n- **Python:** 3.10, **Django:** 4.2 ([LTS](https://www.djangoproject.com/download/))\n- **Python:** 3.12, **Django:** 5.1 (next)\n- **Python:** 3.7, **Django:** 3.2 (legacy)\n\n0.3.1\n\n * loads site even when some encrypted database fields cannot be decrypted\n * adds fields for workflow configuration settings\n * swaps order of `location` and `request` parameters in `build_absolute_uri`\n\n[previous release notes](changelog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjaodjin%2Fdjaodjin-multitier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjaodjin%2Fdjaodjin-multitier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjaodjin%2Fdjaodjin-multitier/lists"}