summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-04-02 08:39:52 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-04-02 08:39:52 +0000
commiteea43f2458d8e32ae033c4e585356c9abc263bc8 (patch)
tree323688b7b9c5d22b6427f780c3ba4bee5e08edc2 /django
parent3eb4acf118d8e3781198640f02a3d6a327861f7c (diff)
Removed deprecated XMLField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/db/models/fields/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py
index 628c8cd883..b9604f5006 100644
--- a/django/db/models/fields/__init__.py
+++ b/django/db/models/fields/__init__.py
@@ -1128,14 +1128,3 @@ class URLField(CharField):
}
defaults.update(kwargs)
return super(URLField, self).formfield(**defaults)
-
-class XMLField(TextField):
- description = _("XML text")
-
- def __init__(self, verbose_name=None, name=None, schema_path=None, **kwargs):
- import warnings
- warnings.warn("Use of XMLField has been deprecated; please use TextField instead.",
- DeprecationWarning)
- self.schema_path = schema_path
- Field.__init__(self, verbose_name, name, **kwargs)
-