Skip to content
Snippets Groups Projects
Select Git revision
  • ec5c79e7b6a10908c337e18dc69e9d0dd78f8ef2
  • 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

apps.py

Blame
  • Forked from KIF / AKPlanning
    337 commits behind, 40 commits ahead of the upstream repository.
    Benjamin Hättasch's avatar
    Benjamin Hättasch authored
    Add or complete docstrings
    Remove code smells
    Disable irrelevant warnings
    Update translations to changed line numbers and line breaks
    Move duplicated code for event field pre-population and event timezone adaption to mixins
    2b7f9314
    History
    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'