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

Support WAGTAILDOCS_SERVE_METHOD style serve choices #236

Open
rgs258 opened this issue Feb 28, 2024 · 2 comments
Open

Support WAGTAILDOCS_SERVE_METHOD style serve choices #236

rgs258 opened this issue Feb 28, 2024 · 2 comments

Comments

@rgs258
Copy link

rgs258 commented Feb 28, 2024

Feature Request

Issue Summary

It will be ideal for media to be sent through a Django view, to perform privacy checks (see Collection Privacy settings) and potentially other housekeeping tasks such as hit counting.

Steps to Reproduce

...

Technical details

@rgs258
Copy link
Author

rgs258 commented Feb 28, 2024

Note that I've largely been able to accomplish delegating storage to documents (WRDSDocument subclasses AbstractDocument) :
image

... but this has required a refactor of AbstractMedia (which now, below the fold, composites AbstractMediaBase and AbstractMediaFieldAdditions:
image

@zerolab
Copy link
Member

zerolab commented Feb 29, 2024

@rgs258 nice idea!

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

No branches or pull requests

2 participants