Files changed (3)
-To install the app, add `django_misery` to your INSTALLED_APPS setting, and `django_misery.middleware.miserize` to you MIDDLEWARE_CLASSES.
+To install the app, you can use PIP: `pip install django-misery`; then add `django_misery` to your INSTALLED_APPS setting, and `django_misery.middleware.miserize` to you MIDDLEWARE_CLASSES.
* `MISERY_WHITE_SCREEN_PROBABILITY`: same for a nice, 100% pure white (not a single subpixel in the viewport will be off, I promise) (default: 20)
* `MISERY_ASP_ERROR_PROBABILITY`: a free bonus for the ASP lovers (and I'm sure they are plenty around here), the template renders just great. Oh and: to make it even more beautiful, it's in French (default: 20). Have a quick look:
By default, the miserable users have therefore approximately a 50-50 chance to see the real page. They won't stay long, I promise.