Skip to content
Snippets Groups Projects
Select Git revision
  • edf46822634bc97ffef09ce451c3dcb3d5b9759f
  • develop default
  • master protected
  • feature/add-oidc-support
  • 0.17
  • 0.16
  • 0.15
  • 0.14
  • 0.13
  • 0.12
  • 0.11
  • 0.10
  • 0.9
  • 0.8
  • 0.6
  • 0.5
  • 0.4
  • 0.3
  • 0.2
  • 0.1
20 results

manage.py

Blame
  • Neda Moeini's avatar
    Neda Moeini authored
    374c32c8
    History
    manage.py 671 B
    #!/usr/bin/env python
    """Django's command-line utility for administrative tasks."""
    import os
    import sys
    
    
    def main():
        """Run administrative tasks."""
        os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sage_validation.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()