redesign, added user system, added api endpoints

This commit is contained in:
Lyxminxx committed 2026-09-20 14:35:20 +02:00
1 parent 2c76e1df78
commit 72b8e569aa
17 files changed
+782 -99

No files matched your search

+3
View File
@@ -4,8 +4,11 @@ from django.db import (
from django.utils import(
timezone
)
from django.contrib.auth.models import User
class Transaction(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE)
title = models.CharField(max_length=255)
amount = models.DecimalField(max_digits=10, decimal_places=2)