mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-06-29 00:25:44 +08:00
Clean up docker-compose and run Black formatter over entire codebase
This commit is contained in:
parent
6c232b3e89
commit
069aba80b1
60 changed files with 1946 additions and 1485 deletions
|
@ -7,9 +7,7 @@ from unfold.contrib.filters.admin import RangeDateFilter
|
|||
@admin.register(UserGroup)
|
||||
class UserGroupAdmin(ModelAdmin):
|
||||
list_filter_submit = True
|
||||
list_filter = ((
|
||||
"date_created", RangeDateFilter
|
||||
),)
|
||||
list_filter = (("date_created", RangeDateFilter),)
|
||||
|
||||
list_display = ['id', 'name']
|
||||
search_fields = ['id', 'name']
|
||||
list_display = ["id", "name"]
|
||||
search_fields = ["id", "name"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue