Answer the question
In order to leave comments, you need to log in
Adding list to django model?
The task is to add likes to the site, for this I want to add a like table to store likes.
class Like(models.Model):
count = models.IntegerField()
product = models.ForeignKey(Product)
users = ???
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question