mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Second half of little cleanup tweaks suggested by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -5,7 +5,7 @@ from django.db.models.fields import FileField, AutoField
|
||||
from django.dispatch import dispatcher
|
||||
from django.db.models import signals
|
||||
from django.utils.functional import curry
|
||||
from django.utils.datastructures import DotExpandedDict, MultiValueDict
|
||||
from django.utils.datastructures import DotExpandedDict
|
||||
from django.utils.text import capfirst
|
||||
import types
|
||||
|
||||
@@ -76,7 +76,7 @@ class AutomaticManipulator(forms.Manipulator):
|
||||
|
||||
# Add field for ordering.
|
||||
if self.change and self.opts.get_ordered_objects():
|
||||
self.fields.append(formfields.CommaSeparatedIntegerField(field_name="order_"))
|
||||
self.fields.append(forms.CommaSeparatedIntegerField(field_name="order_"))
|
||||
|
||||
def save(self, new_data):
|
||||
# TODO: big cleanup when core fields go -> use recursive manipulators.
|
||||
|
||||
Reference in New Issue
Block a user