Basic site functionality (add, delete, search) withouth added vulns
This commit is contained in:
parent
d9a41f82bb
commit
efee16df40
6 changed files with 139 additions and 11 deletions
|
@ -1,3 +1,7 @@
|
|||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
# Create your models here.
|
||||
class Note(models.Model):
|
||||
owner = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
body = models.TextField()
|
||||
time = models.DateTimeField(auto_now_add=True)
|
||||
|
|
Reference in a new issue