Skip to content

Bug(sponsors): When creating a new sponsor app the first contact should default to the primary #2610

@JacobCoffee

Description

@JacobCoffee

Describe the bug

New sponsors form fails due to missed checkbox

image

To Reproduce

  1. Create sponsorship application
  2. Once you enter into, submit
  3. Be met with angry form invalidation:
    image

Expected behavior

The first contact is usually going to be the primary. By defaulting this to checked we save some annoyance and headache for users having to reupload images because they forgot to click the box.

URL to the issue

primary = models.BooleanField(

Screenshots

No response

Browsers

Other

Operating System

Other

Browser Version

No response

Relevant log output

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/sponsorsRelates to the sponsors appbugThis is a bug!frontendRelates to the frontend of the appgood-first-issueThis is good for newcomers to take onhelp-wantedThe maintainers would welcome help with this issuesponsor-applicationsRelates to sponsor applications at python.org/sponsors/application/

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions