Skip to content

Releases: brack3t/django-braces

v1.15.0

05 Nov 21:15
1d4bb0d
Compare
Choose a tag to compare
  • Updates and fixes from #265
  • Typo fixes from #269 and #262
  • Formatted project with black
  • Dropped explicit support for Python versions before 3.7 and non-LTS versions of Django

v1.14.0

30 Dec 20:19
64aa717
Compare
Choose a tag to compare
Next release (#257)

* Update README.md
  Updates Supported Django Versions section.

* Tox now only tests recent Pythons and Djangos

* Include necessary files to build docs in source tarball. Closes #250

* Fixes deprecated imports, adds `six` as requirement

* force text to prevent Python 2 unicode fun

* Added --nomigrations option to pytest
  For some reason this makes the tests work on my machine
  (thanks Baptiste!)

* Have to specify a non-breaking version of semantic-version (lol)

* Update CONTRIBUTORS.txt

* Release date

Co-authored-by: Steve Bywater <1035748+sbywater@users.noreply.github.com>
Co-authored-by: Baptiste Mispelon <bmispelon@gmail.com>

v1.13.0

23 Dec 19:21
Compare
Choose a tag to compare
Bump version: 1.12.0 → 1.13.0

v1.12.0

23 Dec 19:20
Compare
Choose a tag to compare
add bumpversion configuration

v1.11.0

23 Dec 19:19
Compare
Choose a tag to compare
version bump

v1.10.0

23 Dec 19:20
Compare
Choose a tag to compare
release updates

1.9.0

31 May 21:09
Compare
Choose a tag to compare
  • [Feature] #203: Use Django’s supplied version of six to remove an external dependency.
  • [Bug] #161: Fixed redirect loop for users without proper groups for MultipleGroupRequiredMixin and GroupRequiredMixin.
  • [Bug] #181: Fixed redirect loops based on user permissions.
  • [Bug] #196: Refactor how users without permissions are handled.
  • [Bug] #208: Fixed errors from combining certain access mixins.
  • [Support]: Added note to docs about Python and Django versions used in tests.
  • [Support] #192: Added example for OrderableListView.
  • [Support] #201: Fixed typo in SuccessURLRedirectListMixin.
  • [Support] #202: Fixed typo in PermissionsRequiredMixin and MultiplePermissionsRequiredMixin.
  • [Support] #209: Fixed link to Django documentation for user_passes_test decorator.

v1.8.0

17 Apr 21:57
Compare
Choose a tag to compare
  • #145 Allow custom exceptions to be raised by all AccessMixins.
  • #171 New SSLRequiredMixin. Redirect http -> https.
  • #138 New RecentLoginRequiredMixin to require user sessions to have a given freshness.
  • #164 Use resolve_url to handle LOGIN_REDIRECT_URLs in settings.py that are just URL names.
  • #130 New attribute on JSONResponseMixin to allow setting a custom JSON encoder class.
  • #131 New attribute on LoginRequiredMixin so it's possible to redirect unauthenticated users while
    using AccessMixin-derived mixins instead of throwing an exception.

1.4.0

04 Mar 23:48
Compare
Choose a tag to compare
  • Split views.py out into multiple files since it was approaching 1000 LoC.
  • SetHeadlineMixin now accepts headline with ugettext_lazy()-wrapped strings.
  • Fixed a bug where JSONResponseMixin would override the content_type of Django's TemplateView in Django 1.6.
  • Fixed bug in PermissionRequiredMixin where if PermissionRequiredMixin.no_permissions_fail returned a false-y value, the user lacking the permission would pass instead of being denied access.
  • Added doc for how to contribute.
  • Added MessageMixin to allow easier access to Django's contrib.messages messages. FormValidMessageMixin and FormInvalidMessageMixin were updated to use it.
  • Fixed bug in CanonicalSlugDetailMixin to allow it to use custom URL kwargs.
  • Fixed bug in GroupRequiredMixin where superusers were blocked by lack of group memberships.
  • Fixed bug in GroupRequiredMixin which now correctly checks for group membership against a list.
  • Added new StaticContextMixin mixin which lets you pass in static_context as a property of the view.
  • Added new AnonymousRequiredMixin which redirects authenticated users to another view.
  • Added new AllVerbsMixin which allows a single method to response to all HTTP verbs.
  • Provided JSONRequestResponseMixin as a mirror of JsonRequestResponseMixin because we're not PHP.
  • FormValidMessageMixin, FormInvalidMessageMixin, and FormMessagesMixin all allow ugettext_lazy-wrapped strings.
  • Extended PermissionRequiredMixin and MultiplePermissionsRequiredMixin to accept django-guardian-style custom/object permissions.

1.3.1

05 Jan 20:42
Compare
Choose a tag to compare
  • Removed breakpoint that was added accidentally.
  • Added the build directory to .gitignore