Ticket #7033: remove_unused_OrderField.diff

File remove_unused_OrderField.diff, 872 bytes (added by anonymous, 16 years ago)

Patch removing the dead code

  • E:/Software/workspace/django/django/db/models/fields/__init__.py

     
    11601160    def get_manipulator_field_objs(self):
    11611161        return [curry(oldforms.XMLLargeTextField, schema_path=self.schema_path)]
    11621162
    1163 class OrderingField(IntegerField):
    1164     empty_strings_allowed=False
    1165     def __init__(self, with_respect_to, **kwargs):
    1166         self.wrt = with_respect_to
    1167         kwargs['null'] = True
    1168         IntegerField.__init__(self, **kwargs )
    1169 
    1170     def get_manipulator_fields(self, opts, manipulator, change, name_prefix='', rel=False, follow=True):
    1171         return [oldforms.HiddenField(name_prefix + self.name)]
Back to Top