diff options
author | 2021-08-30 23:04:40 +0200 | |
---|---|---|
committer | 2021-08-30 23:43:29 +0200 | |
commit | 58e061109f3ce09e1d8687f61ad22a335deb893a (patch) | |
tree | 932d3243f3683f162a06075c74cb5e34fb6f69a9 /pydis_site | |
parent | Allow empty value for inventory url field (diff) |
Move base_url field to the end
In most cases this won't need to be specified,
so it makes more sense to move it out of the way
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/api/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/api/admin.py b/pydis_site/apps/api/admin.py index 449e660e..2aca38a1 100644 --- a/pydis_site/apps/api/admin.py +++ b/pydis_site/apps/api/admin.py @@ -48,8 +48,8 @@ class BotSettingAdmin(admin.ModelAdmin): class DocumentationLinkAdmin(admin.ModelAdmin): """Admin formatting for the DocumentationLink model.""" - fields = ("package", "base_url", "inventory_url") - list_display = ("package", "base_url", "inventory_url") + fields = ("package", "inventory_url", "base_url") + list_display = ("package", "inventory_url", "base_url") list_editable = ("base_url", "inventory_url") search_fields = ("package",) |