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

1515 added a new view that returns XML if an article has an XML galley. #1517

Merged
merged 3 commits into from
Apr 24, 2020

Conversation

ajrbyers
Copy link
Member

Closes #1515

@ajrbyers ajrbyers requested a review from mauromsl April 23, 2020 15:39
raise Http404

galleys = article_object.galley_set.all()
xml_galley = get_object_or_404(
Copy link
Member

Choose a reason for hiding this comment

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

We could potentially get a MultipleObjectsReturned exception here.

@mauromsl mauromsl merged commit f5cc53d into master Apr 24, 2020
@mauromsl mauromsl deleted the 1515-xml_download branch April 24, 2020 11:06
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.

Add XML download URL
2 participants