Skip to content
Snippets Groups Projects
Select Git revision
  • bced419b694e6fe49b1dd74b081adef169956658
  • main default protected
  • renovate/django-5.x
  • koma/feature/preference-polling-form
4 results

site.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    admin.py 303 B
    from django.contrib import admin
    from AKDashboard.models import DashboardButton
    
    
    @admin.register(DashboardButton)
    class DashboardButtonAdmin(admin.ModelAdmin):
        list_display = ['text', 'url', 'event']
        list_filter = ['event']
        search_fields = ['text', 'url']
        list_display_links = ['text']