Django

Code

Show
Ignore:
Timestamp:
06/30/08 02:10:03 (6 months ago)
Author:
mtredinnick
Message:

Fixed #7033 -- Removed an unused field.

OrderingField? was added in the magic-removal branch to support something that
never ultimately materialised, but it wasn't removed. So this is
backwards-incompatible if you're using this field that has no purpose, I guess.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/models/fields/__init__.py

    r7790 r7794  
    11671167        return [curry(oldforms.XMLLargeTextField, schema_path=self.schema_path)] 
    11681168 
    1169 class OrderingField(IntegerField): 
    1170     empty_strings_allowed=False 
    1171     def __init__(self, with_respect_to, **kwargs): 
    1172         self.wrt = with_respect_to 
    1173         kwargs['null'] = True 
    1174         IntegerField.__init__(self, **kwargs ) 
    1175  
    1176     def get_manipulator_fields(self, opts, manipulator, change, name_prefix='', rel=False, follow=True): 
    1177         return [oldforms.HiddenField(name_prefix + self.name)]