Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 0b92bd11dbd77f2774e6aade7eba6be2176c87f5 1 parent b78b1b9
Adrian Holovaty authored June 07, 2006

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

  1. 4  django/core/management.py
4  django/core/management.py
@@ -815,10 +815,6 @@ def get_validation_errors(outfile, app=None):
815 815
 
816 816
         # Do field-specific validation.
817 817
         for f in opts.fields:
818  
-            # Check for deprecated args
819  
-            dep_args = getattr(f, 'deprecated_args', None)
820  
-            if dep_args:
821  
-                e.add(opts, "'%s' Initialized with deprecated args:%s" % (f.name, ",".join(dep_args)))
822 818
             if isinstance(f, models.CharField) and f.maxlength in (None, 0):
823 819
                 e.add(opts, '"%s": CharFields require a "maxlength" attribute.' % f.name)
824 820
             if isinstance(f, models.FloatField):

0 notes on commit 0b92bd1

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