readthedocs.org
eedcd11a - Organizations: Organization chooser page (#10325)

Commit
2 years ago
Organizations: Organization chooser page (#10325) * Initial work for an all-purporse URL scheme for organization-specific pages * Split out handling of querystring * Adds organization chooser step (>1 organization), use `-` as "unspecified" slug * Do not handle additional kwargs, it's meaningless. Raise 404 and log a warning. * Handle 'next_name' kwarg in tests, handle NoReverseMatch by raising 404 * Setup initial test cases * Test case to ensure that the chooser list is empty when there's no organization membership * Add further test assertions * Update readthedocs/organizations/templates/organizations/organization_choose.html Co-authored-by: Anthony <aj@ohess.org> * Revert leak from local dev env * Organization queryset is already handled in list view * Click=>Select + mark string for translation * Remove <br>, use blocktrans * Shorten heading * Remove generic URL feature. Note: The removal is kept in a single commit. If we want to re-introduce the feature, this commit can be reverted. * Overwrite get instead of dispatch --------- Co-authored-by: Anthony <aj@ohess.org>
Author
Parents
Loading