mirror of https://github.com/django/django.git
Fixed typo in docs/ref/models/instances.txt
This commit is contained in:
parent
93452a70e8
commit
83a710b8d3
|
@ -613,7 +613,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