1
0
mirror of https://github.com/django/django.git synced 2025-01-23 08:39:17 +00:00

Fixed typo in docs/ref/models/instances.txt

This commit is contained in:
Qile Wang 2015-12-03 11:31:41 -05:00 committed by Tim Graham
parent 93452a70e8
commit 83a710b8d3

View File

@ -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__``
----------