1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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
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):