diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-12-17 06:53:15 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-12-17 06:53:15 +0000 |
| commit | fc413b8f611677e51ea8c24e3b56a3716652a619 (patch) | |
| tree | 747d1d7264e30a92b6fd0263e968e86b564597bf /django/core/serializers/python.py | |
| parent | 6754be48ec942c3c287f4cca9e6809c999a7dfeb (diff) | |
Fixed #6110 -- Mark the python format serializer as for internal use only. Thanks, empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/serializers/python.py')
| -rw-r--r-- | django/core/serializers/python.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/django/core/serializers/python.py b/django/core/serializers/python.py index 6fc13d76b5..cedab06be9 100644 --- a/django/core/serializers/python.py +++ b/django/core/serializers/python.py @@ -13,7 +13,9 @@ class Serializer(base.Serializer): """ Serializes a QuerySet to basic Python objects. """ - + + internal_use_only = True + def start_serialization(self): self._current = None self.objects = [] |
