Supported Versions

  • Django 1.11 and above.

Installation steps

  1. Install the Atatus python agent:

    Option 1: Install the agent using pip.

    copy
    icon/buttons/copy
    pip install atatus
    

    Option 2: Add atatus to your project's requirements.txt file, and install the agent using pip.

    copy
    icon/buttons/copy
    # requirements.txt
    atatus
    
    copy
    icon/buttons/copy
    pip install -r requirements.txt
    
  2. Add atatus.contrib.django to INSTALLED_APPS in your settings.py:

    copy
    icon/buttons/copy
    # settings.py
    
    INSTALLED_APPS = [
       # ...
       'atatus.contrib.django',
    ]
    
  3. Add license key and app name in your settings.py:

    copy
    icon/buttons/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.
    }
    
  4. Restart your Django server