Hi I'm trying to put two forms, here is my code:
```
class FrontView(LoginRequiredMixin, UserPassesTestMixin, FormView):
template_name = "template.html"
form_class = FirstForm
coupon_form = SecondForm

def get_context_data(self, **kwargs):
kwargs['second_form'] = self.second_form
return super().get_context_data(**kwargs)
```
In the template I used {{ second_form }}. However it's not showing up.

Thanks.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/546d7871-29f1-4884-b84c-ecfb3599a3c5n%40googlegroups.com.

Reply via email to