view gpp/templates/antispam/blocked.html @ 479:32cec6cd8808

Refactor RateLimiter so that if Redis is not running, everything still runs normally (minus the rate limiting protection). My assumption that creating a Redis connection would throw an exception if Redis wasn't running was wrong. The exceptions actually occur when you issue a command. This is for #224.
author Brian Neal <bgneal@gmail.com>
date Sun, 25 Sep 2011 00:49:05 +0000
parents 7c3816d76c6c
children
line wrap: on
line source
{% extends 'base.html' %}
{% load url from future %}
{% block title %}Blocked{% endblock %}
{% block content %}
<h2>Blocked</h2>
<p class="error">
Oops, we are detecting some strange behavior and are blocking this action. If you
feel this is an error, please feel to <a href="{% url 'contact-form' %}">contact us</a>
and let us know what you were doing on the site. Thank you.
</p>
{% endblock %}