DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

2 Forms in a django template using cookiecutter-django

I've been trying to figure out how to combine 2 forms in one template in cookiecutter. Anyone have an idea on this?

I'm creating 2 forms on one template in cookiecutter-django. I have both forms working on a normal django project but when I migrated them to cookiecutter-django, the forms did not work on the user_detail template.

This is the forms.py

class NarrateForm(ModelForm):
    class Meta:
        model = Narrate
        fields = [
            'title',

Top comments (0)