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

forms.py

Blame
    • Benjamin Hättasch's avatar
      c8c87946
      Introduce and use wizard for event creation and configuration · c8c87946
      Benjamin Hättasch authored
      The wizard is used instead of the normal built-in creation workflow
      It consists of multiple steps to specify the most fundamental settings (especially the timezone), further settings, copying AKCategories and AKRequirements from existing events and activating the event once the basic configuration is done
      The steps after the creation (first two steps) can be skipped
      c8c87946
      History
      Introduce and use wizard for event creation and configuration
      Benjamin Hättasch authored
      The wizard is used instead of the normal built-in creation workflow
      It consists of multiple steps to specify the most fundamental settings (especially the timezone), further settings, copying AKCategories and AKRequirements from existing events and activating the event once the basic configuration is done
      The steps after the creation (first two steps) can be skipped
    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'