You are here: Home / LBN / Up2date / Core Linux / BastionLinux 19 / python2-django-slowdown-0.0.1-1.lbn19.noarch

python2-django-slowdown-0.0.1-1.lbn19.noarch

Package Attributes
RPM  python2-django-slowdown-0.0.1-1.lbn19.noarch.rpm Architecture  noarch Size  3964 Created  2019/09/30 06:54:54 UTC
Package Specification
Summary A simple middleware to slow the django response
Group Unspecified
License UNKNOWN
Home Page https://github.com/jespino/django-slowdown
Description

Django-Slowdown ---------------

Ultra simple slowdown middleware for django (Add a time.sleep(settings.SLOWDOWN / 1000) in a middleware).

Install ======= .. code-block:

  pip install django-slowdown

Usage =====

Add your settings file the Slowdown middleware and the SLOWDOWN setting variable (the default value is 1000 miliseconds).

.. code-block:

  MIDDLEWARE_CLASSES += ...
Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python2-django-slowdown

Document Actions