معرفی شرکت ها


djgunicorn-0.3.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Run Django development server with Gunicorn.
ویژگی مقدار
سیستم عامل -
نام فایل djgunicorn-0.3.0
نام djgunicorn
نسخه کتابخانه 0.3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Tzu-ping Chung
ایمیل نویسنده uranusjr@gmail.com
آدرس صفحه اصلی https://github.com/uranusjr/django-gunicorn
آدرس اینترنتی https://pypi.org/project/djgunicorn/
مجوز BSD
============================= django-gunicorn ============================= Run Django development server with Gunicorn. Quickstart ---------- Install django-gunicorn:: pip install djgunicorn Then add it to your ``INSTALLED_APPS``. You will get a new command ``gunserver`` (please forgive my little pun-loving self). It runs like Django's development server, but the HTTP handling is backed by Gunicorn. Features -------- You can find available options with:: python manage.py help gunserver Most options work as the built-in ``runserver`` command (in ``django.contrib.staticfiles``). Exceptions: * The ``verbosity`` and ``no-color`` settings are *not* passed to Gunicorn. They still affect messages emitted by the command itself, however. * The ``nothreading`` option does not do anything. Todo ---- * Unit tests and CI. * Check how low we can support Django and Gunicorn versions. * Support for additional Gunicorn configs that may be useful. SSL seems to be a common need. * Is it possible to conditionally replace the ``runserver`` command? By installing an alternative app config, for example? * We now use ``DJANGO_SETTINGS_MODULE`` to relay where the settings module is to the Gunicorn subprocess (and let Django loads it automatically). This causes problems if ``settings.configure()`` is called manually without a module, and will likely require some hacks to fix. Interesting Links ----------------- * `#21978 (Add optional gunicorn support to runserver) <https://code.djangoproject.com/ticket/21978>`_ * `Fixed #21978 -- Added optional gunicorn support to runserver. · django/django <https://github.com/django/django/pull/3461/files>`_ * `dj-static/dj_static.py · kennethreitz/dj-static <https://github.com/kennethreitz/dj-static/blob/485d626/dj_static.py>`_ * `SSL support for Django-admin runserver <https://groups.google.com/forum/#!topic/django-developers/PgBcSEiUdw0/discussion>`_ * `Settings — Gunicorn documentation <http://docs.gunicorn.org/en/stable/settings.html>`_ History ------- 0.3.0 (2016-04-13) ++++++++++++++++++ * Add Gunicorn config changing directory to where ``manage.py`` to avoid problems when ``manage.py`` is run in another directory. * Info message is now displayed when Gunicorn reloads, as ``runserver`` does. * Enable extended ``runserver`` provided by ``staticfiles`` only if it is installed (which is the default). * Gunicorn access logs are now coloured, as ``runserver``'s. * Get rid of a custom static handler in favour of Django's stock one. 0.2.0 (2016-04-12) ++++++++++++++++++ * Gunicorn invocation is re-implemented with ``subprocess`` to handle reloading gracefully. (`benoitc/gunicorn#935`_) 0.1.1 (2016-04-11) ++++++++++++++++++ * Lazy-load WSGI handler in Gunicorn application to avoid race conditions. 0.1.0 (2016-04-11) ++++++++++++++++++ * First release on PyPI. .. _`benoitc/gunicorn#935`: <https://github.com/benoitc/gunicorn/issues/935>


نحوه نصب


نصب پکیج whl djgunicorn-0.3.0:

    pip install djgunicorn-0.3.0.whl


نصب پکیج tar.gz djgunicorn-0.3.0:

    pip install djgunicorn-0.3.0.tar.gz