Update admin org
This commit is contained in:
parent
071da74b3d
commit
979b9862fb
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,7 @@ class OrganizationAdmin(VersionAdmin):
|
||||||
"name",
|
"name",
|
||||||
"short_name",
|
"short_name",
|
||||||
"is_open",
|
"is_open",
|
||||||
"slots",
|
"creation_date",
|
||||||
"registrant",
|
"registrant",
|
||||||
"show_public",
|
"show_public",
|
||||||
)
|
)
|
||||||
|
@ -52,6 +52,7 @@ class OrganizationAdmin(VersionAdmin):
|
||||||
actions_on_top = True
|
actions_on_top = True
|
||||||
actions_on_bottom = True
|
actions_on_bottom = True
|
||||||
form = OrganizationForm
|
form = OrganizationForm
|
||||||
|
ordering = ["-creation_date"]
|
||||||
|
|
||||||
def show_public(self, obj):
|
def show_public(self, obj):
|
||||||
return format_html(
|
return format_html(
|
||||||
|
|
Loading…
Add table
Reference in a new issue