Ticket #1191: addklass.diff
File addklass.diff, 700 bytes (added by , 19 years ago) |
---|
-
django/core/meta/__init__.py
1696 1696 man.save = curry(manipulator_save, opts, klass, add, change) 1697 1697 man.get_related_objects = curry(manipulator_get_related_objects, opts, klass, add, change) 1698 1698 man.flatten_data = curry(manipulator_flatten_data, opts, klass, add, change) 1699 man.Klass = klass 1699 1700 for field_name_list in opts.unique_together: 1700 1701 setattr(man, 'isUnique%s' % '_'.join(field_name_list), curry(manipulator_validator_unique_together, field_name_list, opts)) 1701 1702 for f in opts.fields: