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

0050_message_event_reference.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    apps.py 469 B
    from django.apps import AppConfig
    from django.contrib.admin.apps import AdminConfig
    
    
    class AkmodelConfig(AppConfig):
        """
        App configuration (default, only specifies name of the app)
        """
        name = 'AKModel'
    
    
    class AKAdminConfig(AdminConfig):
        """
        App configuration for admin
        Loading a custom version here allows to add additional contex and further adapt the behavior of the admin interface
        """
        default_site = 'AKModel.site.AKAdminSite'