Skip to content

Commit b65883b

Browse files
committed
Merge branch 'main' of github.com:divio/getting-started-with-django
# Conflicts: # requirements.in
2 parents c13369b + 143e120 commit b65883b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ RUN apt-get update && \
1414
# Copy only the requirements.in and .env.local files into the container
1515
COPY requirements.in /app/
1616

17-
# Install pip-tools
18-
RUN pip install --upgrade pip && \
19-
pip install pip-tools
17+
# Install pip-tools with compatible pip version
18+
RUN pip install --upgrade "pip<25" && \
19+
pip install "pip-tools==7.5.1"
2020

2121
# Compile requirements.in to requirements.txt and install pip requirements
2222
RUN pip-compile requirements.in && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Deploy to Divio](https://docs.divio.com/deploy-to-divio.svg)](https://control.divio.com/app/new/?template_url=https://github.com/divio/getting-started-with-django/archive/refs/heads/main.zip)
44

5-
Welcome to our QuickStart template – your portal to swift application development and seamless local testing. Whether you're delving into Django for the first time or optimizing your workflow, our template, based on Djangos' [Getting started](https://docs.djangoproject.com/en/5.0/intro/) guide, has got you covered.
5+
Welcome to our QuickStart template – your portal to swift application development and seamless local testing. Whether you're delving into Django for the first time or optimizing your workflow, our template, based on Djangos' [Getting started](https://docs.djangoproject.com/en/stable/intro/) guide, has got you covered.
66

77
## Cloud Setup
88

mysite/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# SECURITY WARNING: don't run with debug turned on in production!
3030
DEBUG = os.environ.get('DEBUG', 'True') == 'True'
3131

32-
ALLOWED_HOSTS = ["*"]
32+
ALLOWED_HOSTS = ['localhost', '127.0.0.1', '.aldryn.io']
3333
CSRF_TRUSTED_ORIGINS=["https://*.aldryn.io"]
3434

3535

0 commit comments

Comments
 (0)