Added celery and rabbitmq

This commit is contained in:
maciejrusek
2026-03-17 20:42:58 +01:00
parent 8b55be1b9c
commit e0ff3e1cf6
11 changed files with 59 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
from django.db import models
from apps.user.models import User
# from django.db import models
# from apps.user.models import User
class Author(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE, related_name="Authors")
name = models.CharField(max_length=255)
# class Author(models.Model):
# user = models.ForeignKey(User, on_delete=models.CASCADE, related_name="Authors")
# name = models.CharField(max_length=255)