Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored April 02, 2011

Showing 1 changed file with 0 additions and 11 deletions. Show diff stats Hide diff stats

  1. 11  django/db/models/fields/__init__.py
11  django/db/models/fields/__init__.py
@@ -1128,14 +1128,3 @@ def formfield(self, **kwargs):
1128 1128
         }
1129 1129
         defaults.update(kwargs)
1130 1130
         return super(URLField, self).formfield(**defaults)
1131  
-
1132  
-class XMLField(TextField):
1133  
-    description = _("XML text")
1134  
-
1135  
-    def __init__(self, verbose_name=None, name=None, schema_path=None, **kwargs):
1136  
-        import warnings
1137  
-        warnings.warn("Use of XMLField has been deprecated; please use TextField instead.",
1138  
-                      DeprecationWarning)
1139  
-        self.schema_path = schema_path
1140  
-        Field.__init__(self, verbose_name, name, **kwargs)
1141  
-

0 notes on commit eea43f2

Please sign in to comment.
Something went wrong with that request. Please try again.