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
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ For example::
return '%s %s' % (self.first_name, self.last_name) return '%s %s' % (self.first_name, self.last_name)
If you'd like compatibility with Python 2, you can decorate your model class 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__`` ``__eq__``
---------- ----------