Commit 02e28b63 authored by Jelle Besseling's avatar Jelle Besseling Committed by Sébastiaan Versteeg
Browse files

Merge branch 'fix/start-reminder-users' into 'master'

Fix start reminder users slicing

Closes #989

See merge request !1440

(cherry picked from commit a1aba765)

674b28be Fix start reminder users slicing
8e51eca5 Fix docker build
parent f27082b9
......@@ -34,7 +34,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
rm -rf /var/lib/apt
RUN pip install --no-cache-dir poetry && \
poetry config settings.virtualenvs.create false
poetry config virtualenvs.create false
WORKDIR /usr/src/app/website/
# install python requirements
......@@ -46,7 +46,7 @@ RUN if [ "$install_dev_requirements" -eq 1 ]; then \
echo "This will fail if the dependencies are out of date"; \
poetry install --no-interaction --no-dev; \
fi; \
poetry cache:clear --all --no-interaction pypi
poetry cache clear --all --no-interaction pypi
# Create entry points
COPY resources/ /usr/local/bin/
......@@ -395,8 +395,8 @@ class Event(models.Model, metaclass=ModelTranslateMeta):
self.start_reminder = start_reminder
if self.registration_required:
.values_list('member', flat=True))
[r.member for r in self.participants
if r.member])
elif is not None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment