Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-25 08:29:11

0001 #!/usr/bin/env python
0002 """Django's command-line utility for administrative tasks."""
0003 import os
0004 import sys
0005 
0006 
0007 def main():
0008     """Run administrative tasks."""
0009     os.environ.setdefault("DJANGO_SETTINGS_MODULE", "swf_monitor_project.settings")
0010     try:
0011         from django.core.management import execute_from_command_line
0012     except ImportError as exc:
0013         raise ImportError(
0014             "Couldn't import Django. Are you sure it's installed and "
0015             "available on your PYTHONPATH environment variable? Did you "
0016             "forget to activate a virtual environment?"
0017         ) from exc
0018     execute_from_command_line(sys.argv)
0019 
0020 
0021 if __name__ == "__main__":
0022     main()