Commit 5a42d70b authored by Michal Čihař's avatar Michal Čihař

PEP-8

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 54dec4a3
...@@ -28,7 +28,9 @@ from weblate.trans.models import ( ...@@ -28,7 +28,9 @@ from weblate.trans.models import (
class ProjectAdmin(admin.ModelAdmin): class ProjectAdmin(admin.ModelAdmin):
list_display = ['name', 'slug', 'web', 'owner', 'enable_acl', 'enable_hooks'] list_display = (
'name', 'slug', 'web', 'owner', 'enable_acl', 'enable_hooks'
)
prepopulated_fields = {'slug': ('name',)} prepopulated_fields = {'slug': ('name',)}
search_fields = ['name', 'slug', 'web'] search_fields = ['name', 'slug', 'web']
actions = ['update_from_git', 'update_checks', 'force_commit'] actions = ['update_from_git', 'update_checks', 'force_commit']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment