django-dynamicsites-lite-0.1
توضیحات
Host multiple sites from a single django project
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-dynamicsites-lite-0.1 |
| نام | django-dynamicsites-lite |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ian Ward |
| ایمیل نویسنده | ian@excess.org |
| آدرس صفحه اصلی | https://bitbucket.org/wardi/django-dynamicsites-lite |
| آدرس اینترنتی | https://pypi.org/project/django-dynamicsites-lite/ |
| مجوز | UNKNOWN |
Expands the standard django.contrib.sites package to allow for:
Sites identified dynamically from the request via middleware
No need for multiple virtual hosts at the webserver level
301 Redirects to canonical hostnames
A site may have its own urls.py and templates
A single site may accept requests from multiple hostnames
Allows for environment hostname mappings to use non-production hostnames (for use in dev, staging, test, etc. environments)
نحوه نصب
نصب پکیج whl django-dynamicsites-lite-0.1:
pip install django-dynamicsites-lite-0.1.whl
نصب پکیج tar.gz django-dynamicsites-lite-0.1:
pip install django-dynamicsites-lite-0.1.tar.gz