clean: project is healthy now :)

This commit is contained in:
AdrienLSH
2024-04-07 18:48:36 +02:00
parent 80e7335c8d
commit 9bbe5a4705
16 changed files with 113 additions and 726 deletions

View File

@ -0,0 +1,7 @@
from django.db import models
from django.contrib.auth.models import User
class BlockModel(models.Model):
blocker = models.ForeignKey(User, on_delete=models.CASCADE, related_name='blocker')
blocked = models.ForeignKey(User, on_delete=models.CASCADE, related_name='blocked')