Ticket #1324: django.deprecated_args.patch

File django.deprecated_args.patch, 698 bytes (added by andreas@…, 19 years ago)
  • home/andreas/workspace/django-magic-removal/django/db/models/fields/related.py

     
    276276        if kwargs["rel"].raw_id_admin:
    277277            kwargs.setdefault("validator_list", []).append(self.isValidIDList)
    278278        Field.__init__(self, **kwargs)
    279         for name in ('num_in_admin'):
     279        for name in ('num_in_admin',):
    280280            if name in kwargs:
    281281                self.deprecated_args.append(name)
    282282
Back to Top