This commit is contained in:
Mark Veidemanis 2023-02-15 07:20:53 +00:00
parent b37c62f5f1
commit 9a5ed32be9
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
3 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,10 @@ ELASTICSEARCH_PASSWORD = getenv("ELASTICSEARCH_PASSWORD", "changeme")
ELASTICSEARCH_HOST = getenv("ELASTICSEARCH_HOST", "localhost") ELASTICSEARCH_HOST = getenv("ELASTICSEARCH_HOST", "localhost")
ELASTICSEARCH_TLS = getenv("ELASTICSEARCH_TLS", "false") in trues 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 DEBUG = getenv("DEBUG", "false").lower() in trues
PROFILER = getenv("PROFILER", "false").lower() in trues PROFILER = getenv("PROFILER", "false").lower() in trues

4
core/lib/billing.py Normal file
View File

@ -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)

View File

@ -27,3 +27,4 @@ git+https://git.zm.is/XF/django-crud-mixins
redis redis
hiredis hiredis
django-cachalot django-cachalot
lago-python-client