mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-27 12:29:30 +00:00
* add djls-django crate * rework * oops * add check for GDAL and GeoDjango * lots of things * remove unused scripts * move scripts to dedicated mod and make static consts * inline gdal check * rename mod * rename mod * move server info to consts * adjust pyproject * hide rustfmt config * simplify django setup * adjust printing
9 lines
196 B
Python
9 lines
196 B
Python
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}))
|