class GoalTag(models.Model):
goals = models.ManyToManyField(Goal, null=True)
The reason why i ask is that a goal can have many tags, and a tag can
belong to many goals. However, after a tag is input and a user
deletes a goal, the tag should still remain in the databse.
Currently i'm running into issues, and the 'goal' field is required
when I am inputting a tag...can i change this?
Thanks in advance
--
Saygılarımla,
Atamert Ölçgen
-+-
--+
+++
class GoalTag(models.Model):
goals = models.ManyToManyField(Goal, blank=True, null=True,)