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

makemessages.py

Blame
    • Benjamin Hättasch's avatar
      2b7f9314
      Improve AKModel · 2b7f9314
      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
      Improve AKModel
      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
    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()