source: manage.py@ d7662b5

Last change on this file since d7662b5 was d7662b5, checked in by ManuelTrajcev <manueltrajcev7@…>, 3 weeks ago

init

  • Property mode set to 100644
File size: 679 bytes
RevLine 
[d7662b5]1#!/usr/bin/env python
2"""Django's command-line utility for administrative tasks."""
3import os
4import sys
5
6
7def main():
8 """Run administrative tasks."""
9 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MuiscOrganizationSystem.settings")
10 try:
11 from django.core.management import execute_from_command_line
12 except ImportError as exc:
13 raise ImportError(
14 "Couldn't import Django. Are you sure it's installed and "
15 "available on your PYTHONPATH environment variable? Did you "
16 "forget to activate a virtual environment?"
17 ) from exc
18 execute_from_command_line(sys.argv)
19
20
21if __name__ == "__main__":
22 main()
Note: See TracBrowser for help on using the repository browser.