0
0
mirror of https://github.com/django/django.git synced 2024-11-21 19:09:18 +01:00

Fixed #35866 -- Clarified the positioning Python magic methods on models in the internal style guide.

This commit is contained in:
maddrum 2024-10-26 14:46:46 +03:00 committed by Sarah Boyce
parent 3a8f52fbc6
commit b50d1a020d

View File

@ -417,7 +417,7 @@ Model style
* All database fields
* Custom manager attributes
* ``class Meta``
* ``def __str__()``
* ``def __str__()`` and other Python magic methods
* ``def save()``
* ``def get_absolute_url()``
* Any custom methods