Skip to content
Snippets Groups Projects

feat: allow customization of django admin backend

Merged Konrad Mohrfeldt requested to merge feat/site-data into main
2 files
+ 11
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 5
0
@@ -21,6 +21,11 @@ from program.models import (
Type,
)
# This URL is used in the Django admin backend to "View [the] Site".
# Steering doesn’t have a public facing website so it doesn’t make sense to keep the default.
admin.site.site_url = settings.SITE_WEBSITE_URL
admin.site.site_header = settings.SITE_NAME
@admin.register(Category, FundingCategory, MusicFocus, Topic, Type)
class AdminWithNameSlugIsActive(admin.ModelAdmin):
Loading