Skip to content

Commit

Permalink
Fix custom admin (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcai122 authored May 7, 2024
1 parent ad9360f commit a97fde0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/pennmobile/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ def index(self, request, extra_context=None):

class PennMobileAdminConfig(AdminConfig):
default_site = "pennmobile.admin.CustomAdminSite"


admin.AdminSite = CustomAdminSite # anything else that overrides default admin should override ours

0 comments on commit a97fde0

Please sign in to comment.