Django版本 和 django-registration-redux 的版本对应关系

Upgrade guide
The 2.0 release of django-registration-redux is not compatible with the legacy django-registration (previously maintained by James Bennett). Major backwards incompatible changes will be recorded here, but for a full list of changes between versions you should refer to the CHANGELOG.

Django version requirement
As of 2.0, django-registration-redux requires Django 1.11 or newer; older Django releases may work, but are officially unsupported. Additionally, django-registration-redux officially supports Python 2.7, 3.4, and 3.5, 3.6.

Backwards-incompatible changes
Version 2.0
Removed support for Django < 1.11.
Removed registration/urls.py in favor of registration/backends/default/urls.py
Version 1.9
Change of return signature of RegistrationProfileManager.activate_user. A tuple containing the User instance and a boolean of whether or not said user was activated is now returned.
Version 1.8
None
Version 1.7
None
Version 1.6
None
Version 1.5
Support for Django 1.7 is removed, and Django 1.8 or newer is required.
Change signature of RegistrationProfileManager.activate_user. site is now a required positional argument. See #244.
Version 1.4
Remove unnecessary _RequestPassingFormView. See #56. Please ensure that you update any subclassed views to reference self.request instead of accepting request as an argument.
Version 1.3
Django 1.7 or newer is required. Please ensure you upgrade your Django version before upgrading.
Version 1.2
Native migration support breaks South compatibility: An initial native migration for Django > 1.7 has been provided. South users will need to configure a null migration with (SOUTH_MIGRATION_MODULES) in settings.py as shown below:

SOUTH_MIGRATION_MODULES = {
‘registration’: ‘registration.south_migrations’,
register method in RegistrationView has different parameters: The parameters of theregister method in RegistrationView have changed.

Version 1.1
base.html template required: A base.html template is now assumed to exist. Please ensure that your project provides one for django-registration-redux to inherit from.
HTML email templates: django-registration-redux now uses HTML email templates. If you previously customized text email templates, you need to do the same with the new HTML templates.

链接来自 官网

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值