API zásilkovna hotovo

This commit is contained in:
David Bruno Vontor
2025-11-13 18:46:01 +01:00
parent 5c3a02d282
commit 052f7ab533
12 changed files with 331 additions and 33 deletions

View File

@@ -8,7 +8,7 @@ from django.utils import timezone
class GoPayPayment(models.Model):
# Optional user association
user = models.ForeignKey(
settings.AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True, blank=True, related_name="gopay_payments"
settings.AUTH_USER_MODEL, on_delete=models.DO_NOTHING, null=True, blank=True, related_name="gopay_payments"
)
# External identifiers and core attributes