Skip to content

500 error when deleting address not associated with an account #726

Description

@rlskoeser

Describe the bug
Attempting to delete an address associated with a person and not an account through django admin causes a 500 error

The offending code is in the address deletion handler, which does not check if an associated account exists.

/var/www/shakespeareandco/mep/people/models.py in address_delete, line 369

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions