Skip to content
Snippets Groups Projects
Select Git revision
  • 8d5a5d9bafb7a55f8e17185d2ca337cc7ecd233d
  • development default
  • production protected
3 results

manage.py

Blame
    • Hartung, Michael's avatar
      0fb374cd
      renaming netex to drugstone · 0fb374cd
      Hartung, Michael authored
      Former-commit-id: 5aa23d473d7dcf1782c92d8ef6ef023e40adc6b1 [formerly 1626b47218ca3476c0968bc1b481470c0d340887]
      Former-commit-id: e64fa5706e78aeea10c990b9a86d247446e62f0b
      0fb374cd
      History
      renaming netex to drugstone
      Hartung, Michael authored
      Former-commit-id: 5aa23d473d7dcf1782c92d8ef6ef023e40adc6b1 [formerly 1626b47218ca3476c0968bc1b481470c0d340887]
      Former-commit-id: e64fa5706e78aeea10c990b9a86d247446e62f0b
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    manage.py 629 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', 'drugstone.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()