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:
@@ -292,10 +292,32 @@
|
||||
<i class="fas fa-tachometer-alt me-1"></i>Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'stiftung:destinataer_list' %}">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="destinataereDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-users me-1"></i>Destinatäre
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="destinataereDropdown">
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:destinataer_list' %}">
|
||||
<i class="fas fa-list me-2"></i>Alle Destinatäre
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:destinataer_create' %}">
|
||||
<i class="fas fa-plus me-2"></i>Neuer Destinatär
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:foerderung_list' %}">
|
||||
<i class="fas fa-gift me-2"></i>Alle Förderungen
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:foerderung_create' %}">
|
||||
<i class="fas fa-plus me-2"></i>Neue Förderung
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:unterstuetzungen_all' %}">
|
||||
<i class="fas fa-hand-holding-usd me-2"></i>Alle Unterstützungen
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:unterstuetzung_create' %}">
|
||||
<i class="fas fa-plus me-2"></i>Neue Unterstützung
|
||||
</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="laendereiDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
|
||||
Reference in New Issue
Block a user