Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Rewrite community feed as Feed class #8213

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rjsparks
Copy link
Member

@rjsparks rjsparks commented Nov 15, 2024

Moved into this feature branch from #7254

Comment on lines +55 to +56
except MultiplePersonError as err:
return HttpResponse(str(err), status=300)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer raised in this codepath

def get_object(self, request, *args, **kwargs):
email_or_name = kwargs["email_or_name"]
acronym = kwargs["acronym"]
clist = lookup_community_list(request, email_or_name, acronym)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will now raise 404 if the email_or_name matches multiple Person records

@rjsparks rjsparks marked this pull request as draft December 3, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants