- Environment :: Web Environment :: Mozilla
When you know about this project and you want to new install django-csp to support your project or you get trouble as ModuleNotFoundError: No module named "django-csp" or ImportError: cannot import name "django-csp" in your project, let follow this tutorial to install django-csp
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_django-csp_env
- Active the virtual environment
test_django-csp_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_django-csp_env
- Active the virtual environment
source test_django-csp_env/bin/active
To install django-csp on Windows(CMD):
py -m pip install django-csp
To install django-csp on Unix/macOs:
pip install django-csp
Example:
pip install django-csp==1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
django-csp 3.7 | 2020-08-12T18:50:34 | Windows: Unix/macOs:
|
django-csp 3.6 | 2020-01-08T09:38:31 | Windows: Unix/macOs:
|
django-csp 3.5 | 2019-01-16T16:13:02 | Windows: Unix/macOs:
|
django-csp 3.4 | 2018-03-21T06:34:58 | Windows: Unix/macOs:
|
django-csp 3.3 | 2017-04-14T13:56:33 | Windows: Unix/macOs:
|
django-csp 3.2 | 2017-01-18T10:09:22 | Windows: Unix/macOs:
|
django-csp 3.1 | 2016-09-14T06:40:20 | Windows: Unix/macOs:
|
django-csp 3.0 | 2016-07-11T18:08:46 | Windows: Unix/macOs:
|
django-csp 2.0.3 | 2013-11-19T23:16:36 | Windows: Unix/macOs:
|
django-csp 2.0.2 | 2013-06-07T19:32:11 | Windows: Unix/macOs:
|
django-csp 1.0.2 | 2011-07-28T20:37:50 | Windows: Unix/macOs:
|
django-csp 1.0 | 2010-09-08T22:50:41 | Windows: Unix/macOs:
|
Download the distribution file from django_csp-3.7.tar.gz or the specific django-csp version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_django-csp_downloaded_file>
On Unix/macOs:
pip install <path_to_django-csp_downloaded_file>
List distribution:
- django_csp-1.0.tar.gz
- django_csp-1.0.2.tar.gz
- django_csp-2.0.2.tar.gz
- django_csp-2.0.3.tar.gz
- django_csp-3.0-py2.py3-none-any.whl
- django_csp-3.0.tar.gz
- django_csp-3.1-py2.py3-none-any.whl
- django_csp-3.1.tar.gz
- django_csp-3.2-py2.py3-none-any.whl
- django_csp-3.2.tar.gz
- django_csp-3.3-py2.py3-none-any.whl
- django_csp-3.3.tar.gz
- django_csp-3.4-py2.py3-none-any.whl
- django_csp-3.4.tar.gz
- django_csp-3.5-py2.py3-none-any.whl
- django_csp-3.5.tar.gz
- django_csp-3.6-py2.py3-none-any.whl
- django_csp-3.6.tar.gz
- django_csp-3.7-py2.py3-none-any.whl
- django_csp-3.7.tar.gz
Project link:
- Homepage