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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user