mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Refs #23919 -- Removed Python 2 notes in docs.
This commit is contained in:
parent
c716fe8782
commit
f6acd1d271
61 changed files with 139 additions and 731 deletions
|
@ -58,7 +58,7 @@ Example
|
|||
name = models.CharField(max_length=25) # corresponds to the 'str' field
|
||||
poly = models.PolygonField(srid=4269) # we want our model in a different SRID
|
||||
|
||||
def __str__(self): # __unicode__ on Python 2
|
||||
def __str__(self):
|
||||
return 'Name: %s' % self.name
|
||||
|
||||
3. Use :class:`LayerMapping` to extract all the features and place them in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue