The 1.12.2 release of django-flashpolicies supports Django 2.2, 3.0. and 3.1 on the following Python versions:
- Django 2.2 supports Python 3.5, 3.6, 3.7, and 3.8.
- Django 3.0 and 3.1 support Python 3.6, 3.7, and 3.8.
The preferred method of installing django-flashpolicies is via pip, the standard Python package-installation tool. If you don’t have pip, instructions are available for how to obtain and install it, though if you’re using a supported version of Python, pip should have come bundled with your installation of Python.
Once you have pip, type:
pip install django-flashpolicies
If you don’t have a copy of a compatible version of Django, this will also automatically install one for you, and will install a third-party library required by some of django-flashpolicies’s validation code.
Installing from a source checkout¶
If you want to work on django-flashpolicies, you can obtain a source checkout.
The development repository for django-flashpolicies is at <https://github.com/ubernostrum/django-flashpolicies>. If you have git installed, you can obtain a copy of the repository by typing:
git clone https://github.com/ubernostrum/django-flashpolicies.git
From there, you can use git commands to check out the specific revision you want, and perform an “editable” install (allowing you to change code as you work on it) by typing:
pip install -e .