19 lines
372 B
Python
19 lines
372 B
Python
|
|
#!/usr/bin/env python
|
||
|
|
"""Django administrative entrypoint for Artifex."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
import os
|
||
|
|
import sys
|
||
|
|
|
||
|
|
|
||
|
|
def main() -> None:
|
||
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "artifex.settings")
|
||
|
|
from django.core.management import execute_from_command_line
|
||
|
|
|
||
|
|
execute_from_command_line(sys.argv)
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
main()
|