Skip to content

Commit

Permalink
Run manage.py on python -m evap
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmohrin committed Nov 4, 2024
1 parent 501bd68 commit a379181
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 10 additions & 0 deletions evap/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env python3
import os
import sys

if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evap.settings")

from django.core.management import execute_from_command_line

execute_from_command_line(sys.argv)
10 changes: 0 additions & 10 deletions manage.py

This file was deleted.

1 change: 1 addition & 0 deletions manage.py

0 comments on commit a379181

Please sign in to comment.