mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-07-21 19:35:02 +00:00
move scripts to dedicated module (#13)
This commit is contained in:
parent
5c8157057a
commit
cb10d0ca1e
6 changed files with 1 additions and 1 deletions
9
python/djls/scripts/installed_apps_check.py
Normal file
9
python/djls/scripts/installed_apps_check.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(json.dumps({"has_app": sys.argv[1] in settings.INSTALLED_APPS}))
|
Loading…
Add table
Add a link
Reference in a new issue