Hi there, I have the model below:
class Ticket(models.Model): REAL = 'R' FREE = 'F' TYPES = ( (REAL, 'Real'), (FREE, 'Free'), ) amount = models.DecimalField() user = models.ForeignKey(User) class Pick(models.Model): ticket_id = models.ForeignKey(Ticket) number = models.CharField(max_length=4) Many Tickets can be created on the same submit depending on the ticket type. how can do that i have attached a mockup Cheers -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d3d1cdf8-0097-4323-9a4f-660dfc8c7b84%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
<<attachment: mockup.png>>