Yes, it is. Without a thorough knowledge of what you are doing, I would recommend looking at
condition_dict which is in the urls.py https://docs.djangoproject.com/en/1.6/ref/contrib/formtools/form-wizard/#using-a-different-template-for-each-form or the condition steps https://docs.djangoproject.com/en/1.6/ref/contrib/formtools/form-wizard/#conditionally-view-skip-specific-steps cheers L. On 25 June 2014 06:52, Henrique Oliveira <henriqueollive...@gmail.com> wrote: > Hi there, > > I need to create a wizard that has an one-to-many relationship on step 2. > > These are my models: > > class Ticket(models.Model): > user = models.ForeignKey(User) > modality = models.CharField(max_length=3) > drawing = models.ForeignKey(Drawing) > type = models.CharField(max_length=1, choices=TYPES) > amount = models.DecimalField(max_digits=6, decimal_places=2) > first_to_fifth = models.BooleanField(default=False) > created_at = models.DateTimeField() > > class Meta: > db_table = 'ticket' > > > class TicketPick(models.Model): > ticket_id = models.ForeignKey(Ticket, related_name='picks') > pick = models.CharField(max_length=4) > > class Meta: > db_table = 'ticket_pick' > > Second step can have up to 5 fields, is possible to do that using Django > wizard? > > 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/2bb479eb-5df5-410d-b578-bdf15ed8625c%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- The idea is that a beautiful image is frameable. Everything you need to see is there: It’s everything you want, and it’s very pleasing because there’s no extra information that you don’t get to see. Everything’s in a nice package for you. But sublime art is unframeable: It’s an image or idea that implies that there’s a bigger image or idea that you can’t see: You’re only getting to look at a fraction of it, and in that way it’s both beautiful and scary, because it’s reminding you that there’s more that you don’t have access to. It’s now sort of left the piece itself and it’s become your own invention, so it’s personal as well as being scary as well as being beautiful, which is what I really like about art like that. ----------------------------------------------------------------------------------------------------------- Adventure Time http://theholenearthecenteroftheworld.com/ -- 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/CAGBeqiOZBNbXrG2M6%2BnjcdOU1d2zwBpRaAmC4UyvsyWp4-5xXg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.