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

apps.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']