Skip to content

Commit 35db8d0

Browse files
committed
ensuring redis version in update
1 parent 6ec6754 commit 35db8d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/management/commands/update.py

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ def update(self, args, options):
110110
# install requirements as combine user
111111
os.system('%s/pip install -r requirements.txt' % (self.PYTHON_PATH))
112112

113+
# ensure redis version
114+
os.system('%s/pip uninstall redis' % (self.PYTHON_PATH))
115+
os.system('%s/pip install redis==2.10.6' % (self.PYTHON_PATH))
116+
113117
# collect django static
114118
os.system('%s/python manage.py collectstatic --noinput' % (self.PYTHON_PATH))
115119

0 commit comments

Comments
 (0)