diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-07 04:15:18 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-07 04:15:18 +0000 |
| commit | 0b92bd11dbd77f2774e6aade7eba6be2176c87f5 (patch) | |
| tree | e980275463ae859b984d34c5619c7a0849af654d | |
| parent | b78b1b98fff1d7059d7c6b9698857942ac42a4fb (diff) | |
Removed legacy deprecated_args check from django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/django/core/management.py b/django/core/management.py index c40e3a5eb2..a94782b6b1 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -815,10 +815,6 @@ def get_validation_errors(outfile, app=None): # Do field-specific validation. for f in opts.fields: - # Check for deprecated args - dep_args = getattr(f, 'deprecated_args', None) - if dep_args: - e.add(opts, "'%s' Initialized with deprecated args:%s" % (f.name, ",".join(dep_args))) if isinstance(f, models.CharField) and f.maxlength in (None, 0): e.add(opts, '"%s": CharFields require a "maxlength" attribute.' % f.name) if isinstance(f, models.FloatField): |
