summaryrefslogtreecommitdiff
path: root/django/core/serializers/python.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 13:12:09 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 13:12:09 -0700
commit7548aa8ffd46eb6e0f73730d1b2eb515ba581f95 (patch)
tree963393779f4c8c33351ea605f708f8da7d9f70bf /django/core/serializers/python.py
parent65c4ac3b2434d1828cb76c9f4454fe64e81354ee (diff)
downloaddjango-7548aa8ffd46eb6e0f73730d1b2eb515ba581f95.tar.gz
More attacking E302 violators
Diffstat (limited to 'django/core/serializers/python.py')
-rw-r--r--django/core/serializers/python.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/serializers/python.py b/django/core/serializers/python.py
index 89c0bdfa28..4ac7cc4cf1 100644
--- a/django/core/serializers/python.py
+++ b/django/core/serializers/python.py
@@ -147,6 +147,7 @@ def Deserializer(object_list, **options):
obj = base.build_instance(Model, data, db)
yield base.DeserializedObject(obj, m2m_data)
+
def _get_model(model_identifier):
"""
Helper to look up a model from an "app_label.model_name" string.