mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Removed versionadded/changed annotations for 3.0.
This commit is contained in:
parent
3b94f12462
commit
4c5236ef93
39 changed files with 2 additions and 299 deletions
|
@ -577,14 +577,6 @@ password resets. You must then provide some key implementation details:
|
|||
``REQUIRED_FIELDS`` has no effect in other parts of Django, like
|
||||
creating a user in the admin.
|
||||
|
||||
.. versionadded:: 3.0
|
||||
|
||||
:attr:`REQUIRED_FIELDS` now supports
|
||||
:class:`~django.db.models.ManyToManyField`\s without a custom
|
||||
through model. Since there is no way to pass model instances during
|
||||
the :djadmin:`createsuperuser` prompt, expect the user to enter IDs
|
||||
of existing instances of the class to which the model is related.
|
||||
|
||||
For example, here is the partial definition for a user model that
|
||||
defines two required fields - a date of birth and height::
|
||||
|
||||
|
@ -934,8 +926,6 @@ methods and attributes:
|
|||
|
||||
.. method:: models.PermissionsMixin.get_user_permissions(obj=None)
|
||||
|
||||
.. versionadded:: 3.0
|
||||
|
||||
Returns a set of permission strings that the user has directly.
|
||||
|
||||
If ``obj`` is passed in, only returns the user permissions for this
|
||||
|
|
|
@ -1398,10 +1398,6 @@ implementation details see :ref:`using-the-views`.
|
|||
* ``reset_url_token``: Token parameter displayed as a component of password
|
||||
reset URLs. Defaults to ``'set-password'``.
|
||||
|
||||
.. versionchanged:: 3.0
|
||||
|
||||
The ``reset_url_token`` class attribute was added.
|
||||
|
||||
**Template context:**
|
||||
|
||||
* ``form``: The form (see ``form_class`` above) for setting the new user's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue