From f6acd1d271122d66de8061e75ae26137ddf02658 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 18 Jan 2017 11:51:29 -0500 Subject: Refs #23919 -- Removed Python 2 notes in docs. --- docs/ref/contrib/gis/tutorial.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref/contrib/gis/tutorial.txt') diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index cc518a999c..22e3b075ad 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -216,7 +216,7 @@ model to represent this data:: mpoly = models.MultiPolygonField() # Returns the string representation of the model. - def __str__(self): # __unicode__ on Python 2 + def __str__(self): return self.name Note that the ``models`` module is imported from ``django.contrib.gis.db``. -- cgit v1.3