Django / Setup

Step 21 of 24

Installieren Sie das Django SDK.

Fügen Sie django-altified zu einem Django-Projekt hinzu, verbinden Sie es mit einem geheimen API-Schlüssel und überprüfen Sie, ob das SDK Altified erreichen kann.

Install the package in the same Python environment that runs your Django application.

Terminal
pip install django-altified

Add the SDK to INSTALLED_APPS and configure the API URL and secret key from your Altified dashboard.

settings.py
INSTALLED_APPS = [ ..., "django_altified", ] ALTIFIED_API_KEY = "altified_..." ALTIFIED_API_URL = "https://api.altified.com/api/v1"
  • Use a secret Altified key for Django server-side syncing.
  • Keep the key in environment variables in production.
  • Set ALTIFIED_API_URL to your deployed Altified backend or local backend during development.
  • Configure default and target languages in the Altified dashboard, not in Django settings.