Added paddle

This commit is contained in:
2025-10-20 19:50:39 +02:00
parent 6093b24734
commit b583584a7d
8 changed files with 312 additions and 96 deletions

View File

@@ -22,6 +22,10 @@ load_dotenv()
#API key
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
# Paddle Keys
PADDLE_CLIENT_ID = config('PADDLE_CLIENT_ID','')
PADDLE_PRICE_ID = config('PADDLE_PRICE_ID','')
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@@ -172,6 +176,10 @@ CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = 'UTC'
CSRF_TRUSTED_ORIGINS = [
"https://aa66bdfdcee1.ngrok-free.app",
]
SECURE_SSL_REDIRECT = config('SECURE_SSL_REDIRECT', default=False, cast=bool)
SESSION_COOKIE_SECURE = config('SESSION_COOKIE_SECURE', default=False, cast=bool)
CSRF_COOKIE_SECURE = config('CSRF_COOKIE_SECURE', default=False, cast=bool)