summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2022-03-14 09:52:40 +0800
committerdengyh <dengyuanhong@chinamobile.com>2022-03-14 09:53:04 +0800
commit9009b0f9ea2a13bd6898d4b7ca46da5e1c93376a (patch)
treebda1b1fd5a0c8ab27901593a4c0be1996ed74585
parent69dab90bddead599a4927ba5efda8bc79304e9ad (diff)
Update the Django version to 2.2.27
Change-Id: I7eaee60a63cfa728dd4f177a9aed259c1283dc60 Issue-ID: VFC-1938 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
-rw-r--r--zte/vmanager/requirements.txt2
-rw-r--r--zte/vmanager/tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/requirements.txt b/zte/vmanager/requirements.txt
index 8d63bf0d..247ac83d 100644
--- a/zte/vmanager/requirements.txt
+++ b/zte/vmanager/requirements.txt
@@ -1,5 +1,5 @@
# rest framework
-Django==2.1.10
+Django==2.2.27
djangorestframework==3.10.0
# for call rest api
diff --git a/zte/vmanager/tox.ini b/zte/vmanager/tox.ini
index 4d9d5652..0086ffc3 100644
--- a/zte/vmanager/tox.ini
+++ b/zte/vmanager/tox.ini
@@ -8,7 +8,7 @@ commands = coverage run --branch manage.py test
[flake8]
ignore = E501,E722
-exclude = ./venv-tox,./.tox
+exclude = ./venv-tox,./.tox,./venv
max-complexity = 12
[testenv:pep8]