Changelog¶
Version 5.2.0¶
Released on .
This new version most likely have breaking changes.
Adopted DjangoVer as version scheme.
Changed license from Apache License 2.0 to BSD-3-Clause.
Version support:
django-latchnow supports Django 4.2, 5.1 and 5.2. See Django’s Python support matrix for details of which Python versions are compatible with each version of Django.Support for Latch API version 2 via the latch_sdk_python.
New features:
Added checks for the Django’s check command.
Added
django_latch.decorators.unpaired_user_required()view decorator.Added
django_latch.mixins.UnpairedUserRequiredMixinanddjango_latch.mixins.PairedUserRequiredMixinclass-based views mixins.Added authentication backend mixin
django_latch.backends.LatchModelBackendMixin.
Changes:
latch.views.latch_is_configuredview decorator is nowdjango_latch.decorators.paired_user_required().latch.views.pairfunction-based view is nowdjango_latch.views.PairLatchViewclass-based view.latch.views.unpairfunction-based view is nowdjango_latch.views.UnpairLatchViewclass-based view.Removed
latch.models.UserProfile. Now the user’s account id is indjango_latch.models.LatchUserConfig.The test suite was restructured.
The included URLconf now has URLs to inform success on pairing and unpairing operations.
The default authentication backend with Latch support (previously
latch.auth_backend.LatchAuthBackend, nowdjango_latch.backends.LatchDefaultModelBackend) now inherit directly fromModelBackend.latch.forms.LatchPairFormis nowdjango_latch.forms.PairLatchForm.
Removals:
Removed
latch.models.LatchSetup.Removed the latch status view (
latch.views.status).Removed the unpairing form (
latch.forms.LatchUnpairForm).
Version 0.3¶
Released on 31 March 2019.
Version 0.2.1¶
Released on 30 March 2019.
Version 0.2¶
Released on 28 March 2019.