autopep8, except line length

This commit is contained in:
Diederik van der Boor
2016-12-19 11:10:03 +01:00
parent 695d352edb
commit 1d13b4f3c5
6 changed files with 7 additions and 9 deletions
+1
View File
@@ -11,6 +11,7 @@ class GenericPolymorphicFormSetChild(PolymorphicFormSetChild):
"""
Formset child for generic inlines
"""
def __init__(self, *args, **kwargs):
self.ct_field = kwargs.pop('ct_field', 'content_type')
self.fk_field = kwargs.pop('fk_field', 'object_id')
+1
View File
@@ -2,6 +2,7 @@
Internal utils
"""
def add_media(dest, media):
"""
Optimized version of django.forms.Media.__add__() that doesn't create new objects.