fix: configure CI database connection properly

- Add dotenv loading to Django settings
- Update CI workflow to use correct environment variables
- Set POSTGRES_* variables instead of DATABASE_URL
- Add environment variables to all Django management commands
- Fixes CI test failures due to database connection issues
This commit is contained in:
Stiftung Development
2025-09-06 18:47:23 +02:00
parent dcc91b9f49
commit 35ba089a84
64 changed files with 7040 additions and 1419 deletions

View File

@@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% load static %}
{% load help_tags %}
{% block title %}{{ title }} - Stiftungsverwaltung{% endblock %}
@@ -19,8 +20,12 @@
</a>
</div>
</div>
</div>
</div>
<!-- Form -->
<!-- Form -->
<div class="row">
<div class="col-lg-8">
<div class="card shadow">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">
@@ -414,6 +419,11 @@
</div>
</div>
</div>
<!-- Sidebar mit Hilfe -->
<div class="col-lg-4">
{% help_box 'laenderei_new' user %}
</div>
</div>
{% endblock %}