Various changes for test-deployment

This commit is contained in:
2025-09-23 13:26:07 +02:00
parent 58e4cc6583
commit 7859fd2847
5 changed files with 6 additions and 5 deletions

2
.gitignore vendored
View File

@@ -7,3 +7,5 @@ bin/
pyvenv.cfg
include/
keys/
*.kate-swp

View File

@@ -87,6 +87,7 @@ TEMPLATES = [
WSGI_APPLICATION = 'VorgabenUI.wsgi.application'
CSRF_TRUSTED_ORIGINS=["https://vorgabenportal.knowyoursecurity.com"]
# Database
# https://docs.djangoproject.com/en/5.2/ref/settings/#databases

View File

@@ -4,7 +4,7 @@ import zlib
import re
from textwrap import dedent
DIAGRAMMSERVER="http://10.128.128.144:8000/diagramm"
DIAGRAMMSERVER="/diagramm"
def render_textabschnitte(queryset):
"""

View File

@@ -1,4 +1,4 @@
from revproxy.views import ProxyView
class DiagrammProxyView(ProxyView):
upstream = "http://localhost:8001/"
upstream = "http://kroki:8000/"

View File

@@ -38,9 +38,7 @@
</h3>
{% if vorgabe.relevanzset %}
<span class="badge bg-light text-black"> Relevanz:
{% for V in vorgabe.relevanzset %}
{{ V|make_list|first }}
{% endfor %}
{{ vorgabe.relevanzset|join:", " }}
</span>
{% endif %}