معرفی شرکت ها


django-wsgi2-1.0.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Enhanced WSGI support (for Django 3.0)
ویژگی مقدار
سیستم عامل -
نام فایل django-wsgi2-1.0.2
نام django-wsgi2
نسخه کتابخانه 1.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Fernando Morales
ایمیل نویسنده fmoralesalcaide@protonmail.com
آدرس صفحه اصلی https://github.com/fmoralesalcaide/django-wsgi
آدرس اینترنتی https://pypi.org/project/django-wsgi2/
مجوز BSD (http://dev.2degreesnetwork.com/p/2degrees-license.html)
# django-wsgi2 *django-wsgi2* is a fork of *django-wsgi* that: 1. Is compatible with Django 3.0. 2. Integrates easier (especially in production). ## Installation This package can be installed from pip3: ``` pip3 install django-wsgi2 ``` ## Configuration In the original [django-wsgi documentation](https://pythonhosted.org/django-wsgi/ "django-wsgi documentation") the configuration is based on modifying the *WSGI_APPLICATION* setting value in settings.py. This is enough for development purposes but does not work in a production environment. In a production environment, it is not clear the location of the WSGI application that the HTTP server has to target requests to. The documentation was vague about this point, so this package provides an alternative: This is how django-wsgi2 is configured both for testing and production: In your Django project wsgi.py file (project_root/project_name/wsgi.py), replace this line: ```python from django.core.wsgi import get_wsgi_application ``` for this: ```pyton from django_wsgi.handler import get_wsgi_application ``` That is all you need to do. ## Documentation Additionanl documentation for django-wsgi2 can be found in the original django-wsgi package [documentation](https://pythonhosted.org/django-wsgi/).


نحوه نصب


نصب پکیج whl django-wsgi2-1.0.2:

    pip install django-wsgi2-1.0.2.whl


نصب پکیج tar.gz django-wsgi2-1.0.2:

    pip install django-wsgi2-1.0.2.tar.gz