Page MenuHomePhabricator

Remove superfluous function in favour of unique=True
Closed, ResolvedPublic


The helper function check_for_target_url_duplication_and_generate_error_message in the resources app was created to retain uniqueness in the target_url field across both Partner and Stream objects. Since we removed streams from TWLight, this function is superfluous and is a roundabout way of simply setting unique=True on the target_url field of the Partner model.