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

Stubs for shared view names #196

Open
landswellsong opened this issue May 5, 2017 · 1 comment
Open

Stubs for shared view names #196

landswellsong opened this issue May 5, 2017 · 1 comment

Comments

@landswellsong
Copy link
Member

Because of Ecognize/django-openapi-gen#16 the measurement-detail view name is shared between Measurements, Quicklook and Download views, thus it's not possible to construct lists of Measurements by normal means.

After upstream is fixed, remove the stubs.

@landswellsong
Copy link
Member Author

Manually adding the route gives:

<RegexURLPattern measurement-detail ^api/download/(?P<pk>[^/.]+)/$>
<RegexURLPattern measurement-data ^api/download/(?P<pk>[^/.]+)/data/$>
<RegexURLPattern measurement-quicklook ^api/download/(?P<pk>[^/.]+)/quicklook/$>

maybe there is a way to exclude the -detail bit. Anyhow this needs to be rethinked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants