diff --git a/README.md b/README.md index bf93c854..a9491480 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,16 @@ To run the test suite, execute the following in your shell (Django install is re ## Change Log -### Dev +### 1.3.0 * Removed `CreateAndRedirectToEditView` mixin. It was marked for deprecation and removal since 1.0. * Added `JsonRequestAndResponseMixin` mixin which attempts to parse requests as JSON. * Added `CanonicalSlugDetailMixin` mixin which allows for the specification of a canonical slug on a `DetailView` to help with SEO by redirecting on non-canonical requests. +* Added `UserPassesTestMixin` mixin to replicate the behavior of Django's `@user_passes_test` decorator. +* Some fixes for `CanonicalSlugDetailMixin`. +* `AccessMixin` now has a runtime-overridable `login_url` attribute. +* Fixed problem with `GroupRequiredMixin` that made it not actually work. +* All tests pass for Django versions 1.4 through 1.6 and Python versions 2.6, 2.7, and 3.3 (Django 1.4 and 1.5 not tested with Python 3.3). * Tests and documentation changes for all of the above. ### 1.2.1 diff --git a/docs/conf.py b/docs/conf.py index b6cfcaa4..17e3ee90 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ # built documents. # # The short X.Y version. -version = '1.2.2' +version = '1.3.0' # The full version, including alpha/beta/rc tags. -release = '1.2.2' +release = '1.3.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index d90c9241..f8431038 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="django-braces", - version="1.2.2", + version="1.3.0", description="Reusable, generic mixins for Django", long_description="Mixins to add easy functionality to Django class-based views, forms, and models.", keywords="django, views, forms, mixins",