Skip to content
Snippets Groups Projects
Verified Commit 6e36f7c2 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'master' of edugit.org:AlekSIS/official/AlekSIS-Core

parents 299d77a2 c994f838
No related branches found
No related tags found
No related merge requests found
Pipeline #4961 passed
"""Management utilities for an AlekSIS installation."""
import os
import sys
from django.core.management import execute_from_command_line
def aleksis_cmd():
"""Run django-admin command with correct settings path."""
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "aleksis.core.settings")
execute_from_command_line(sys.argv)
......@@ -101,6 +101,9 @@ celery = ["Celery", "django-celery-results", "django-celery-beat", "django-celer
[tool.poetry.dev-dependencies]
aleksis-builddeps = "*"
[tool.poetry.scripts]
aleksis-admin = 'aleksis.core.util.manage:aleksis_cmd'
[tool.black]
line-length = 100
exclude = "/migrations/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment