From 356de17636da7fbdecf68a6f6493cede9345c08b Mon Sep 17 00:00:00 2001 From: Robert Wittams Date: Fri, 16 Dec 2005 20:24:09 +0000 Subject: [PATCH] magic-removal: first step to integrate mutually referential models git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1702 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/fields/__init__.py | 3 --- django/db/models/fields/related.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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