Django

Endless Lifecycle Support (ELS) for Django from TuxCare provides security fixes for Django. With ELS, you can continue running your Django applications without vulnerability concerns, even after official support has ended.

Supported Versions

  • Django 3.2.25, 4.0, 4.2, 5.0, 5.0.1, 5.0.2, 5.1, 5.1.4, 5.1.9, 5.1.10

Other versions upon request.

Installation

Prerequisites

  • pip package manager installed
  • Nexus repository access credentials (username and password) — contact [email protected]
  • To browse available artifacts, visit TuxCare Nexus and click Sign in in the top right corner. You may need to refresh the page after logging in.

Option 1: Install via Command Line

You can install or upgrade a package directly using the ELS repository with your credentials:

pip install --upgrade -i https://USERNAME:[email protected]/repository/els_python/simple django

Replace USERNAME and PASSWORD with your TuxCare credentials (see Prerequisites above).

Option 2: Configure pip to Use the ELS Repository (Full Replacement)

Use this method if you want to use only ELS-patched Python packages from TuxCare and replace the default PyPI source with the TuxCare ELS repository.

  1. Create or update the pip configuration file and add the following:

    [global]
    index-url = https://username:[email protected]/repository/els_python/simple
  2. Run the command to install the latest package version:

    pip install --upgrade django
    

    Or install a specific patched TuxCare version, for example:

    pip install django==3.2.25.post1+tuxcare
    

If you want to keep using public PyPI and fetch only specific patched packages from TuxCare, use extra-index-url instead. In this configuration, make sure to specify the exact patched version, otherwise pip may install the version from public PyPI.

  1. Create or update the pip configuration file and add the following:

    [global]
    extra-index-url = https://username:[email protected]/repository/els_python/simple
  2. Run the command to install a specific patched TuxCare version, for example:

    pip install django==3.2.25.post1+tuxcare
    

What's Next?