That is a really nice syntax. I kind of like the specificity of ``form_valid`` (for example), though.
And, yes, our mixins are Django-only (hence the title!)
Also, why the ``set_test_cookie`` on every GET?
And, yes, our mixins are Django-only (hence the title!)
Also, why the ``set_test_cookie`` on every GET?
BTW, thanks for the nice post. Is the code available on github or bitbucket?
https://github.com/brack3t/django-braces is the Github repo, or you can ``pip install django-braces`` into your project. All the mixins are then imported from the ``braces`` package.