Skip to content

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

@rlskoeser

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

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