Skip to content

Potential error in tickets/forms.py #1

Open
@credativ-dar

Description

@credativ-dar

When trying to create a new item via the admin form I got the following error:

super().__init__(*args, **kwargs, initial=initial)

TypeError: django.forms.models.BaseModelForm.__init__() got multiple values for keyword argument 'initial'

I found a solution, PR will follow shortly.

Thank you so much for the guide, it helped a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions