Skip to content
Snippets Groups Projects
Select Git revision
  • 1b1b56fda4864489dba7e8d6991154e26b4c042b
  • main default protected
  • feature/export-filtering
  • feature/clear-schedule-button
  • fix/responsive-cols-in-polls
  • feature/preference-polling-form
  • feature/json-export-via-rest-framework
  • feature/json-schedule-import-tests
  • fix/add-room-import-only-once
  • ak-import
  • renovate/django-simple-history-3.x
  • renovate/django-debug-toolbar-4.x
  • renovate/django-5.x
  • renovate/mysqlclient-2.x
14 results

api.py

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    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'