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

0027_event_timezone.py

Blame
    • Benjamin Hättasch's avatar
      4471a4a0
      Improve Model · 4471a4a0
      Benjamin Hättasch authored
      Add dependency django-timezone-field
      Add timezone field to Event
      Introduce i18n for default_slot field
      Add new and missing translations
      Add title property to Room (for better access of combined building + name form)
      4471a4a0
      History
      Improve Model
      Benjamin Hättasch authored
      Add dependency django-timezone-field
      Add timezone field to Event
      Introduce i18n for default_slot field
      Add new and missing translations
      Add title property to Room (for better access of combined building + name form)
    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()