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

admin.py

Blame
    • Benjamin Hättasch's avatar
      07288968
      Introduce manage view for ak tracks · 07288968
      Benjamin Hättasch authored and Nadja Geisler's avatar Nadja Geisler committed
      This view can be used to sort aks into tracks using drag and drop. You can also create new ak tracks or delete them.
      
      Add js dependency for drag and drop of lists.
      Activate add, update, delete methids to AKTrack API and update method to AK API.
      Add and link (on status page) new admin view for management.
      Add tags list property to AK model.
      Introduce translations for AKScheduling app.
      Update translations.
      07288968
      History
      Introduce manage view for ak tracks
      Benjamin Hättasch authored and Nadja Geisler's avatar Nadja Geisler committed
      This view can be used to sort aks into tracks using drag and drop. You can also create new ak tracks or delete them.
      
      Add js dependency for drag and drop of lists.
      Activate add, update, delete methids to AKTrack API and update method to AK API.
      Add and link (on status page) new admin view for management.
      Add tags list property to AK model.
      Introduce translations for AKScheduling app.
      Update translations.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    manage.py 630 B
    #!/usr/bin/env python
    """Django's command-line utility for administrative tasks."""
    import os
    import sys
    
    
    def main():
        os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'AKPlanning.settings')
        try:
            from django.core.management import execute_from_command_line
        except ImportError as exc:
            raise ImportError(
                "Couldn't import Django. Are you sure it's installed and "
                "available on your PYTHONPATH environment variable? Did you "
                "forget to activate a virtual environment?"
            ) from exc
        execute_from_command_line(sys.argv)
    
    
    if __name__ == '__main__':
        main()