latest version of django 2021 code example Example 1: latest version of django pip install Django==3.1.5 Example 2: django latest version pip install Django==3.1.1