mirror of
https://github.com/django/django.git
synced 2025-10-08 01:30:51 +00:00
[1.8.x] Fixed typos in code comments.
Backport of 039465a6a7
from master
This commit is contained in:
parent
90d9bf5ba4
commit
45aaced91e
26 changed files with 28 additions and 28 deletions
|
@ -409,7 +409,7 @@ class BaseDatabaseCreation(object):
|
|||
queryset = model._default_manager.using(self.connection.alias).order_by(model._meta.pk.name)
|
||||
for obj in queryset.iterator():
|
||||
yield obj
|
||||
# Serialise to a string
|
||||
# Serialize to a string
|
||||
out = StringIO()
|
||||
serializers.serialize("json", get_objects(), indent=None, stream=out)
|
||||
return out.getvalue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue