Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abe312/django-subdomains
Subdomain helpers for the Django framework, including subdomain-based URL routing.
https://github.com/abe312/django-subdomains
django django-subdomain subdomain subdomains
Last synced: about 2 months ago
JSON representation
Subdomain helpers for the Django framework, including subdomain-based URL routing.
- Host: GitHub
- URL: https://github.com/abe312/django-subdomains
- Owner: abe312
- License: mit
- Fork: true (tkaemming/django-subdomains)
- Created: 2016-10-29T12:16:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-29T14:42:11.000Z (about 1 year ago)
- Last Synced: 2024-09-25T21:40:55.241Z (about 2 months ago)
- Topics: django, django-subdomain, subdomain, subdomains
- Language: Python
- Homepage: http://django-subdomains.readthedocs.org/
- Size: 108 KB
- Stars: 26
- Watchers: 6
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#### `pip install subdomains`
#### Thanks to @iheanyi, this would be backwards compatible till Django1.11 and continues to work on django2 and django3 (tested on django1.11.27, django2.2.9 and django3.0.2). [Sample project](https://github.com/abe312/testing-subdomains)
### We will continue to support future Django LTS Releases
The previous subdomains can be downloaded by `pip install subdomains==2.1.1`
**Edit** Updated to work with django 1.10 and so on... using this **Edit2** Uploaded it to pypi: under _"subdomains"_ pip install subdomains
I'd recommend for django versions<=1.9 use django-subdomains from op, otherwise for django 1.10, 1.11, django2, django3 etc use my _subdomains_ version
# subdomains
Subdomain helpers for the Django framework, including subdomain-based URL routing and reversing.
Full documentation can be found here: [subdomains](http://subdomains.readthedocs.org/)
## Build Status
[![Build Status](https://travis-ci.org/abe312/django-subdomains.svg?branch=master)](https://travis-ci.org/abe312/django-subdomains)
Tested on Python 2.6, 2.7, 3.4, 3.5 and 3.6 on their supported Django versions from 1.4 through 1.11.
Check the following table for reference:
| Django version | Python versions |
| -------------- | ----------------------------------------------- |
| 1.8 | 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5 |
| 1.9, 1.10 | 2.7, 3.4, 3.5 |
| 1.11 | 2.7, 3.4, 3.5, 3.6 |
| 2.0 | 3.4, 3.5, 3.6 |
| 2.1 | 3.5, 3.6, 3.7 |