mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Fixed E225 pep8 warnings.
This commit is contained in:
parent
51d2e1fb23
commit
ae48d77ef8
43 changed files with 102 additions and 91 deletions
|
@ -47,7 +47,7 @@ class ArticleInline(admin.TabularInline):
|
|||
prepopulated_fields = {
|
||||
'title' : ('content',)
|
||||
}
|
||||
fieldsets=(
|
||||
fieldsets = (
|
||||
('Some fields', {
|
||||
'classes': ('collapse',),
|
||||
'fields': ('title', 'content')
|
||||
|
@ -74,7 +74,7 @@ class ChapterXtra1Admin(admin.ModelAdmin):
|
|||
class ArticleAdmin(admin.ModelAdmin):
|
||||
list_display = ('content', 'date', callable_year, 'model_year', 'modeladmin_year')
|
||||
list_filter = ('date', 'section')
|
||||
fieldsets=(
|
||||
fieldsets = (
|
||||
('Some fields', {
|
||||
'classes': ('collapse',),
|
||||
'fields': ('title', 'content')
|
||||
|
@ -465,7 +465,7 @@ class WorkHourAdmin(admin.ModelAdmin):
|
|||
|
||||
|
||||
class FoodDeliveryAdmin(admin.ModelAdmin):
|
||||
list_display=('reference', 'driver', 'restaurant')
|
||||
list_display = ('reference', 'driver', 'restaurant')
|
||||
list_editable = ('driver', 'restaurant')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue