2 Forms in a django template using cookiecutter-django

twitter logo github logo ・1 min read

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',
twitter logo DISCUSS
Classic DEV Post from Nov 14

Share your CSS knowledge

highcenbug🇵🇭 profile image
Freelance Developer | Volunteer Developer at Project: Website