diff --git a/app/local_settings.py b/app/local_settings.py index 95ad707..ede7b22 100644 --- a/app/local_settings.py +++ b/app/local_settings.py @@ -40,6 +40,10 @@ ELASTICSEARCH_PASSWORD = getenv("ELASTICSEARCH_PASSWORD", "changeme") ELASTICSEARCH_HOST = getenv("ELASTICSEARCH_HOST", "localhost") ELASTICSEARCH_TLS = getenv("ELASTICSEARCH_TLS", "false") in trues +LAGO_API_KEY = getenv("LAGO_API_KEY", "") +LAGO_ORG_ID = getenv("LAGO_ORG_ID", "") +LAGO_URL = getenv("LAGO_URL", "") + DEBUG = getenv("DEBUG", "false").lower() in trues PROFILER = getenv("PROFILER", "false").lower() in trues diff --git a/core/lib/billing.py b/core/lib/billing.py new file mode 100644 index 0000000..c42b973 --- /dev/null +++ b/core/lib/billing.py @@ -0,0 +1,4 @@ +# from lago_python_client import Client +# from django.conf import settings + +# client = Client(api_key=settings.LAGO_API_KEY, api_url=settings.LAGO_URL) diff --git a/requirements.txt b/requirements.txt index e2b0ad0..5f76049 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,3 +27,4 @@ git+https://git.zm.is/XF/django-crud-mixins redis hiredis django-cachalot +lago-python-client