Django / Setup

Step 21 of 24

Install the Django SDK

Add django-altified to a Django project, connect it with a secret API key, and verify the SDK can reach Altified.

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.