Path to this page:
Subject: CVS commit: pkgsrc/www/py-django-registration
From: Adam Ciarcinski
Date: 2025-01-27 13:03:16
Message id: 20250127120316.DF081FBE0@cvs.NetBSD.org
Log Message:
py-django-registration: updated to 5.1.0
Version 5.1.0
* Adopted "DjangoVer" versioning.
* Supported Django versions are now 4.2, 5.0, and 5.1.
* Supported Python versions are now 3.9, 3.10, 3.11, 3.12, and 3.13.
* The base :class:`~django_registration.forms.RegistrationForm` has been
completely rewritten, though in a backwards-compatible way. It is no longer a
subclass of Django's ``UserCreationForm``, which means it is far more
flexible with respect to custom user models (and for many cases, no longer
requires a custom form subclass just to handle a custom user model).
* :class:`~django_registration.views.ActivationView` has also been rewritten,
and with it parts of :ref:`the built-in activation-based workflow
<activation-workflow>`. The primary change here is that ``ActivationView``
now only attempts to activate the user account on an HTTP ``POST`` request
(previously it would do so on ``GET``, which was increasingly unsafe due to
email clients auto-following links). This is backwards-incompatible: the
activation view now displays a form on ``GET``, and the templates involved
have changed. See :ref:`the template documentation <default-templates>` for
details of the required templates.
Files: