From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 18 Dec 2023 18:24:29 +0000 (-0800) Subject: Filters out the not really useful warning from Django about async iterators (#5041) X-Git-Tag: v2.2.0~1^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80f2bee6e8d30d2b9f3a70a8d0a2be90cb3e00d3;p=thirdparty%2Fpaperless-ngx.git Filters out the not really useful warning from Django about async iterators (#5041) --- diff --git a/Dockerfile b/Dockerfile index 121cd957dd..e1425dffb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,8 @@ RUN set -eux \ # - Don't leave anything extra in here FROM docker.io/python:3.11-slim-bookworm as main-app +ENV PYTHONWARNINGS="ignore:::django.http.response:517" + LABEL org.opencontainers.image.authors="paperless-ngx team " LABEL org.opencontainers.image.documentation="https://docs.paperless-ngx.com/" LABEL org.opencontainers.image.source="https://github.com/paperless-ngx/paperless-ngx"