Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed deprecated XMLField.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit eea43f2458d8e32ae033c4e585356c9abc263bc8 1 parent 3eb4acf
Russell Keith-Magee freakboy3742 authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 django/db/models/fields/__init__.py
11 django/db/models/fields/__init__.py
View
@@ -1128,14 +1128,3 @@ def formfield(self, **kwargs):
}
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)
-
Please sign in to comment.
Something went wrong with that request. Please try again.