|
|
@ -34,6 +34,7 @@ class WishedItem(models.Model):
|
|
|
|
# FIXME: create more sensible name...
|
|
|
|
# FIXME: create more sensible name...
|
|
|
|
class DreamComeTrue(models.Model):
|
|
|
|
class DreamComeTrue(models.Model):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
id = models.AutoField(primary_key=True)
|
|
|
|
item = models.ForeignKey(WishedItem, on_delete=models.CASCADE, help_text="What wish has been fulfilled.")
|
|
|
|
item = models.ForeignKey(WishedItem, on_delete=models.CASCADE, help_text="What wish has been fulfilled.")
|
|
|
|
when = models.DateTimeField(auto_now_add=True, help_text="When the dream came true")
|
|
|
|
when = models.DateTimeField(auto_now_add=True, help_text="When the dream came true")
|
|
|
|
note = models.TextField(blank=True, help_text="Optional note, e.g. tracking number. Private, shown only to owner.")
|
|
|
|
note = models.TextField(blank=True, help_text="Optional note, e.g. tracking number. Private, shown only to owner.")
|
|
|
|