Skip to content
Browse files

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.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 94beaa6 commit 44ca5f46c9ca1a6eeeaa4f6fd30d0a3ea7a719bf @malcolmt malcolmt committed
Showing with 0 additions and 9 deletions.
  1. +0 −9 django/db/models/fields/
9 django/db/models/fields/
@@ -1166,12 +1166,3 @@ def __init__(self, verbose_name=None, name=None, schema_path=None, **kwargs):
def get_manipulator_field_objs(self):
return [curry(oldforms.XMLLargeTextField, schema_path=self.schema_path)]
-class OrderingField(IntegerField):
- empty_strings_allowed=False
- def __init__(self, with_respect_to, **kwargs):
- self.wrt = with_respect_to
- kwargs['null'] = True
- IntegerField.__init__(self, **kwargs )
- def get_manipulator_fields(self, opts, manipulator, change, name_prefix='', rel=False, follow=True):
- return [oldforms.HiddenField(name_prefix +]

0 comments on commit 44ca5f4

Please sign in to comment.
Something went wrong with that request. Please try again.