Skip to content

A way to "merge" sponsor objects in python.org/admin  #2370

Description

@loren-c

Is your feature request related to a problem? Please describe.
Sometimes when submitting an application on our sponsor application page , sponsors will unintentionally create a second sponsor object for the same company.

This creates problems with populating renewal dates among other things--If the contract is a renewal, but it is not connected to the sponsor object associated with the last contract, the date of last contract is "UNKNOWN" and when I try to download the renewal contract I get a 500 error.

Describe the solution you'd like
It would be nice to have a way in https://www.python.org/admin/sponsors/sponsor/ to merge duplicate sponsor objects. Ideally they would retain the information/files from the most recently created sponsor object and/or ask which to retain.

Describe alternatives you've considered
Currently I haven't been able to find a way to generate a renewal contract in the case of duplicate sponsor objects, so I've just been manually creating the contract from the template in those cases. (E.g. frequently the sponsor contacts change from year to year, and sometimes the logo gets updated or other details change.)

Additional context

Screenshot 2024-02-16 at 17-11-13 Select sponsor to change python org

@ewdurbin

Activity

  1. added this to the 1H25 milestone on Sep 16, 2024
  2. JacobCoffee commented on Sep 16, 2024

    @JacobCoffee
    Member

    As a side note, maybe we should restrict the sponsor field name to be unique to prevent the users from doing this

  3. loren-c commented on Sep 27, 2024

    @loren-c
    ContributorAuthor

    The only potential issue with that is sometimes the person submitting the application isn't already associated with the sponsor, so it could result in those people not submitting an application if they are blocked from using the company name

  4. added
    enhancementThis is an improvement to existing code or configuration
    adminRelates to Django Admin
    on Feb 19, 2026
  5. JacobCoffee commented on Oct 8, 2026

    @JacobCoffee
    Member

    Superseded in #2972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    adminRelates to Django Adminapp/sponsorsRelates to the sponsors appbackendRelates to the backend of the appenhancementThis is an improvement to existing code or configuration

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions