Supported Versions
- Django 1.11 and above.
Installation steps
Install the Atatus python agent:
Option 1: Install the agent using pip.
copypip install atatus
Option 2: Add
atatus
to your project's requirements.txt file, and install the agent using pip.copy# requirements.txt atatus
copypip install -r requirements.txt
Add
atatus.contrib.django
toINSTALLED_APPS
in your settings.py:copy# settings.py INSTALLED_APPS = [ # ... 'atatus.contrib.django', ]
Add license key and app name in your settings.py:
copy# settings.py ATATUS = { 'APP_NAME': 'Django App', 'LICENSE_KEY': 'lic_apm_xxxxxxx', # 'DEBUG': True # Please uncomment this line if you are running in development/debug mode. Otherwise, we do not send data. }
Restart your Django server