Questions & Answers

43
votes
3
answers
704
views

What's the best way to implement Django + Celery for background tasks?

I'm working on a Django project and encountering an issue with Django admin. Here's my current implementation: # models.py class Article(models.Model): title = models.CharField(max_length=200) author = models.ForeignKey(User, on_delete=models.CASCADE) def save(self, …
abdullah3 Bronze asked 1 week, 4 days ago
17
votes
1
answers
557
views

How can I implement Django caching with Redis for better performance?

I'm working on a Django project and encountering an issue with Django authentication. Here's my current implementation: # models.py class Article(models.Model): title = models.CharField(max_length=200) author = models.ForeignKey(User, on_delete=models.CASCADE) def save(self, …
david_web Bronze asked 1 week, 4 days ago