Coverage for manage.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-26 00:11 +0000

1#!/usr/bin/env python 

2import os 

3import sys 

4 

5if __name__ == "__main__": 

6 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ivatar.settings") 

7 try: 

8 from django.core.management import execute_from_command_line 

9 except ImportError as exc: # pragma: no cover 

10 raise ImportError( # pragma: no cover 

11 "Couldn't import Django. Are you sure it's installed and " 

12 "available on your PYTHONPATH environment variable? Did you " 

13 "forget to activate a virtual environment?" 

14 ) from exc 

15 execute_from_command_line(sys.argv)