diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py
index 6c53eb01bb..33abbd8b86 100644
--- a/django/db/models/fields/__init__.py
+++ b/django/db/models/fields/__init__.py
@@ -16,15 +16,12 @@ HORIZONTAL, VERTICAL = 1, 2
BLANK_CHOICE_DASH = [("", "---------")]
BLANK_CHOICE_NONE = [("", "None")]
-
# prepares a value for use in a LIKE query
prep_for_like_query = lambda x: str(x).replace("%", "\%").replace("_", "\_")
# returns the
class for a given radio_admin value
get_ul_class = lambda x: 'radiolist%s' % ((x == HORIZONTAL) and ' inline' or '')
-
-
def manipulator_valid_rel_key(f, self, field_data, all_data):
"Validates that the value is a valid foreign key"
klass = f.rel.to
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py
index d065f2824d..fededda1fe 100644
--- a/django/db/models/fields/related.py
+++ b/django/db/models/fields/related.py
@@ -34,7 +34,7 @@ class RelatedField(object):
if isinstance(other, basestring):
if other == RECURSIVE_RELATIONSHIP_CONSTANT:
self.rel.to = cls.__name__
- self.add_lookup(cls, self)
+ self.add_lookup(cls, self)
else:
self.do_related_class(other, cls)