Hello First of all let me show you my model:
class ChannelStatus(models.Model):
channel = models.ForeignKey(Channel,unique_for_date="date")
date = models.DateField()
platform = models.ManyToManyField(Platform)
Right now, when I want to make an ChannelStatus entry, there cant be more than one entry which is the same channel and the date.Now, I want to change this as the uniquess of each channel to the date for each platform, so different platforms can have several same channel with same date. How can I achieve this ?