Disable deployment until production server is configured

- Temporarily disable automatic deployment to prevent CI failures
- Add comprehensive production server setup documentation
- Update deployment guide with clear setup requirements
- Format manually edited code files for CI compliance
- Provide step-by-step server configuration instructions
- Enable safe CI/CD pipeline operation without deployment errors

The deployment will be re-enabled once the production server is properly set up following the new documentation.
This commit is contained in:
Stiftung Development
2025-09-06 21:17:34 +02:00
parent cc08bda714
commit 1589cff171
6 changed files with 317 additions and 64 deletions

View File

@@ -5,24 +5,11 @@ from django.utils.html import format_html
from django.utils.safestring import mark_safe
from . import models
from .models import (
AppConfiguration,
AuditLog,
BackupJob,
BankTransaction,
CSVImport,
Destinataer,
DestinataerUnterstuetzung,
DokumentLink,
Foerderung,
Land,
Paechter,
Person,
Rentmeister,
StiftungsKonto,
UnterstuetzungWiederkehrend,
Verwaltungskosten,
)
from .models import (AppConfiguration, AuditLog, BackupJob, BankTransaction,
CSVImport, Destinataer, DestinataerUnterstuetzung,
DokumentLink, Foerderung, Land, Paechter, Person,
Rentmeister, StiftungsKonto, UnterstuetzungWiederkehrend,
Verwaltungskosten)
@admin.register(CSVImport)

View File

@@ -4,22 +4,11 @@ from django import forms
from django.core.exceptions import ValidationError
from django.utils import timezone
from .models import (
BankTransaction,
Destinataer,
DestinataerNotiz,
DestinataerUnterstuetzung,
DokumentLink,
Foerderung,
Land,
LandAbrechnung,
Paechter,
Person,
Rentmeister,
StiftungsKonto,
UnterstuetzungWiederkehrend,
Verwaltungskosten,
)
from .models import (BankTransaction, Destinataer, DestinataerNotiz,
DestinataerUnterstuetzung, DokumentLink, Foerderung, Land,
LandAbrechnung, Paechter, Person, Rentmeister,
StiftungsKonto, UnterstuetzungWiederkehrend,
Verwaltungskosten)
class RentmeisterForm(forms.ModelForm):

View File

@@ -11,7 +11,8 @@ from django.conf import settings
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.core.paginator import Paginator
from django.db.models import Avg, Count, DecimalField, F, IntegerField, Q, Sum, Value
from django.db.models import (Avg, Count, DecimalField, F, IntegerField, Q,
Sum, Value)
from django.db.models.functions import Cast, Coalesce, NullIf, Replace
from django.http import JsonResponse
from django.shortcuts import get_object_or_404, redirect, render
@@ -20,20 +21,10 @@ from django.views.decorators.csrf import csrf_exempt
from rest_framework.decorators import api_view
from rest_framework.response import Response
from .models import (
AppConfiguration,
CSVImport,
Destinataer,
DestinataerUnterstuetzung,
DokumentLink,
Foerderung,
Land,
LandAbrechnung,
LandVerpachtung,
Paechter,
Person,
UnterstuetzungWiederkehrend,
)
from .models import (AppConfiguration, CSVImport, Destinataer,
DestinataerUnterstuetzung, DokumentLink, Foerderung, Land,
LandAbrechnung, LandVerpachtung, Paechter, Person,
UnterstuetzungWiederkehrend)
def get_pdf_generator():
@@ -220,18 +211,10 @@ def gramps_debug_api(_request):
from stiftung.models import DestinataerNotiz, DestinataerUnterstuetzung
from .forms import (
DestinataerForm,
DestinataerNotizForm,
DestinataerUnterstuetzungForm,
DokumentLinkForm,
FoerderungForm,
LandForm,
PaechterForm,
PersonForm,
UnterstuetzungForm,
UnterstuetzungMarkAsPaidForm,
)
from .forms import (DestinataerForm, DestinataerNotizForm,
DestinataerUnterstuetzungForm, DokumentLinkForm,
FoerderungForm, LandForm, PaechterForm, PersonForm,
UnterstuetzungForm, UnterstuetzungMarkAsPaidForm)
def home(request):