2 """Django's command-line utility for administrative tasks."""
8 """Run administrative tasks."""
9 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'logviewer.settings')
11 from django.core.management import execute_from_command_line
12 except ImportError as exc:
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?"
18 execute_from_command_line(sys.argv)
21 if __name__ == '__main__':