mirror of
https://github.com/Lyxminxx/jast.git
synced 2026-10-11 12:51:51 +02:00
redesign, added user system, added api endpoints
This commit is contained in:
1 parent
2c76e1df78
commit
72b8e569aa
17 files changed
+782
-99
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user