mbi/django-simple-captcha — pull request #38 by tepez (2013-05-07 08:40:49+00:00)
Title: various fixes

This is basically the subset of backward-compatible changes [PC 34](https://github.com/mbi/django-simple-captcha/pull/34).

* add a base class for captcha widgets to allow easier extensions
* catch `CaptchaStore.DoesNotExist` instead of the broad `Exception` in `CaptchaField.clean()`
* use `[]` and `{}` instead of `list()` and `dict()` [[1]](http://stackoverflow.com/questions/6610606/dict-literal-vs-dict-constructor-any-preferred)
* check `output_format` and `reverse('captcha-image', args=('dummy',))` only in `DEBUG` mode
* use `ugettext` instead of `ugettext_lazy` in `fields.py`