Skip to content

Fix subproject slug lookup with alias. #2270

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

Merged
merged 2 commits into from
Jun 21, 2016

Conversation

ericholscher
Copy link
Member

This allows URL's in Python to use aliases for subprojects properly

@ericholscher ericholscher merged commit 800f7b1 into master Jun 21, 2016
self.subproject = get(Project, slug='sub', language='ja', users=[
self.owner], main_language_project=None)
self.translation = get(Project, slug='trans', language='ja', users=[
self.owner], main_language_project=None)
Copy link
Contributor

Choose a reason for hiding this comment

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

Argument wrapping on lines 74-77 is confusing, due to list broken up over multiple lines.

@agjohnson
Copy link
Contributor

Just noted a cleanup as part of post-deploy review, looks fine otherwise.

@agjohnson agjohnson deleted the fix-subproject-lookup-with-alias branch June 21, 2016 23:30
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