mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Removed deprecated XMLField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3eb4acf118
commit
eea43f2458
1 changed files with 0 additions and 11 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue