Used 4 space hanging indent for dictionaries.

Thanks Mariusz Felisiak for auditing.
This commit is contained in:
Tim Graham 2019-01-02 18:18:19 -05:00 committed by GitHub
parent 5bbf31634f
commit 0004daa536
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 399 additions and 307 deletions

View file

@ -730,16 +730,20 @@ class RelatedPrepopulatedInline1(admin.StackedInline):
model = RelatedPrepopulated
extra = 1
autocomplete_fields = ['fk', 'm2m']
prepopulated_fields = {'slug1': ['name', 'pubdate'],
'slug2': ['status', 'name']}
prepopulated_fields = {
'slug1': ['name', 'pubdate'],
'slug2': ['status', 'name'],
}
class RelatedPrepopulatedInline2(admin.TabularInline):
model = RelatedPrepopulated
extra = 1
autocomplete_fields = ['fk', 'm2m']
prepopulated_fields = {'slug1': ['name', 'pubdate'],
'slug2': ['status', 'name']}
prepopulated_fields = {
'slug1': ['name', 'pubdate'],
'slug2': ['status', 'name'],
}
class RelatedPrepopulatedInline3(admin.TabularInline):