mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 07:27:10 +00:00
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
@@ -6,7 +6,17 @@ from apps.task.admin import CompetitionTaskInline
|
||||
|
||||
@admin.register(Competition)
|
||||
class CompetitionAdmin(admin.ModelAdmin):
|
||||
list_display = ("title", "end_date", "type",)
|
||||
search_fields = ("title", "description",)
|
||||
list_filter = ("type", "participation_type",)
|
||||
list_display = (
|
||||
"title",
|
||||
"end_date",
|
||||
"type",
|
||||
)
|
||||
search_fields = (
|
||||
"title",
|
||||
"description",
|
||||
)
|
||||
list_filter = (
|
||||
"type",
|
||||
"participation_type",
|
||||
)
|
||||
inlines = [CompetitionTaskInline]
|
||||
|
||||
Reference in New Issue
Block a user