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

Enable file uploads to admin backend with chosen storage solution #110

Open
lukehollis opened this issue Dec 15, 2020 · 3 comments
Open

Comments

@lukehollis
Copy link
Contributor

Following up from email, when @npicardo or I attempt to upload files to the admin interface, we're unable to attach and upload files and receive this error message:

Screen Shot 2020-12-15 at 1 25 06 PM

@rsinghal
Copy link
Contributor

rsinghal commented Apr 1, 2021

I think the following needs to be done:
Create directory that images will be saved to.
Set MEDIA_ROOT and MEDIA_URL in settings.py: https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-MEDIA_ROOT
Add directory from MEDIA_ROOT to Apache config (let FAS RC know about change for puppet)

@rsinghal
Copy link
Contributor

rsinghal commented Apr 1, 2021

Question/Concern - do we need to set limits on size of image that can be uploaded?

@rsinghal
Copy link
Contributor

rsinghal commented Apr 1, 2021

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