mirror of https://github.com/django/django.git
[1.9.x] Fixed typo in docs/ref/models/instances.txt
Backport of 83a710b8d3
from master
This commit is contained in:
parent
8897f4b0df
commit
dcac100612
|
@ -621,7 +621,7 @@ For example::
|
|||
return '%s %s' % (self.first_name, self.last_name)
|
||||
|
||||
If you'd like compatibility with Python 2, you can decorate your model class
|
||||
with :func:`~django.utils.encoding.python_2_unicode_compatible` as show above.
|
||||
with :func:`~django.utils.encoding.python_2_unicode_compatible` as shown above.
|
||||
|
||||
``__eq__``
|
||||
----------
|
||||
|
|
Loading…
Reference in New Issue