Skip to content

Commit d20e274

Browse files
author
Muhammad Atif
committed
upgraded django cms version to 4.1
1 parent 1f42e52 commit d20e274

4 files changed

Lines changed: 5 additions & 18 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN pip-compile requirements.in && \
2424

2525
# Copy the rest of the project files into the container
2626
COPY . /app/
27+
RUN chmod +x manage.py
2728

2829
# Make port 8000 available to the world outside this container
2930
EXPOSE 8000

backend/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Build paths inside the project like this: BASE_DIR / 'subdir'.
77
BASE_DIR = Path(__file__).resolve().parent.parent
88

9+
CMS_CONFIRM_VERSION4=True
10+
911
DEBUG = os.getenv('DEBUG', default=False)
1012
SECRET_KEY = os.getenv('SECRET_KEY')
1113
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', default='*').split(',')

requirements.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ psycopg==3.1.14
1313
gunicorn==20.1.0
1414

1515
# key requirements for django CMS
16-
django-cms==3.11.4
16+
django-cms==4.1.0
1717
django-classy-tags==4.1.0
1818
django-sekizai==4.1.0
1919
pytz==2023.3.post1
@@ -39,5 +39,3 @@ djangocms-frontend==1.2.0
3939

4040
# Django Filer - optional, but used in most projects (alpha) - already implicitly installed through djangocms-file
4141
# https://github.com/django-cms/django-filer/archive/refs/tags/2.1.1.zip#egg=django-filer
42-
43-
pip-tools==7.3.0 # needed for compilation of this file into requirements.txt, see start of file

requirements.txt

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ botocore==1.33.13
1212
# via
1313
# boto3
1414
# s3transfer
15-
build==1.0.3
16-
# via pip-tools
1715
chardet==5.2.0
1816
# via reportlab
19-
click==8.1.7
20-
# via pip-tools
2117
cssselect2==0.7.0
2218
# via svglib
2319
dj-database-url==2.1.0
@@ -48,7 +44,7 @@ django-classy-tags==4.1.0
4844
# -r requirements.in
4945
# django-cms
5046
# django-sekizai
51-
django-cms==3.11.4
47+
django-cms==4.1.0
5248
# via
5349
# -r requirements.in
5450
# djangocms-attributes-field
@@ -123,7 +119,6 @@ easy-thumbnails[svg]==2.8.5
123119
# django-filer
124120
# djangocms-frontend
125121
# djangocms-picture
126-
# easy-thumbnails
127122
furl==2.1.3
128123
# via django-storage-url
129124
gunicorn==20.1.0
@@ -140,21 +135,15 @@ orderedmultidict==1.0.1
140135
# via furl
141136
packaging==23.2
142137
# via
143-
# build
144138
# django-cms
145139
# djangocms-text-ckeditor
146-
# gunicorn
147140
pillow==10.1.0
148141
# via
149142
# djangocms-text-ckeditor
150143
# easy-thumbnails
151144
# reportlab
152-
pip-tools==7.3.0
153-
# via -r requirements.in
154145
psycopg==3.1.14
155146
# via -r requirements.in
156-
pyproject-hooks==1.0.0
157-
# via build
158147
python-dateutil==2.8.2
159148
# via botocore
160149
pytz==2023.3.post1
@@ -190,11 +179,8 @@ webencodings==0.5.1
190179
# cssselect2
191180
# html5lib
192181
# tinycss2
193-
wheel==0.42.0
194-
# via pip-tools
195182
whitenoise==6.6.0
196183
# via -r requirements.in
197184

198185
# The following packages are considered to be unsafe in a requirements file:
199-
# pip
200186
# setuptools

0 commit comments

Comments
 (0)