Format code with black. Add makefile to run fmt/tests
This commit is contained in:
parent
d00bce9288
commit
c2c7fa311a
299 changed files with 19037 additions and 11611 deletions
|
|
@ -12,10 +12,11 @@ class ServerConfigAdmin(admin.ModelAdmin):
|
|||
Custom admin for server configs
|
||||
|
||||
"""
|
||||
list_display = ('db_key', 'db_value')
|
||||
list_display_links = ('db_key',)
|
||||
ordering = ['db_key', 'db_value']
|
||||
search_fields = ['db_key']
|
||||
|
||||
list_display = ("db_key", "db_value")
|
||||
list_display_links = ("db_key",)
|
||||
ordering = ["db_key", "db_value"]
|
||||
search_fields = ["db_key"]
|
||||
save_as = True
|
||||
save_on_top = True
|
||||
list_select_related = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue