Ticket #1324: django.deprecated_args.patch
File django.deprecated_args.patch, 698 bytes (added by , 19 years ago) |
---|
-
home/andreas/workspace/django-magic-removal/django/db/models/fields/related.py
276 276 if kwargs["rel"].raw_id_admin: 277 277 kwargs.setdefault("validator_list", []).append(self.isValidIDList) 278 278 Field.__init__(self, **kwargs) 279 for name in ('num_in_admin' ):279 for name in ('num_in_admin',): 280 280 if name in kwargs: 281 281 self.deprecated_args.append(name) 282 282