Skip to content
Snippets Groups Projects
Verified Commit 54a090f0 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'master' of edugit.org:AlekSIS/official/AlekSIS

parents 95478b79 c88afaef
No related branches found
No related tags found
No related merge requests found
Pipeline #1280 failed
......@@ -47,6 +47,7 @@ ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# Install core extras
FROM core AS core-extras
ARG EXTRA_LDAP
ARG EXTRA_CELERY
WORKDIR /usr/src/app
# LDAP
......@@ -58,6 +59,11 @@ RUN if [ $EXTRA_LDAP = 1 ] ; then \
eatmydata poetry install -E ldap; \
fi;
# Celery
RUN if [ $EXTRA_CELERY = 1 ] ; then \
eatmydata poetry install -E celery; \
fi;
# Install official apps
FROM core-extras AS apps
COPY apps ./apps/
......
......@@ -82,7 +82,7 @@ def person(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse:
context["person"] = person
# Get groups where person is member of
groups = Group.objects.filter(members=id_)
groups = Group.objects.filter(members=person)
# Build table
groups_table = GroupsTable(groups)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment