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

How to configure properly these 2 settings GALLERY_PHOTO_DIR and GALLERY_PHOTO_STORAGE #4

Closed
ghost opened this issue Oct 28, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 28, 2018

GALLERY_PHOTO_DIR = os.path.join(BASE_DIR, 'media')
GALLERY_PHOTO_STORAGE = os.path.join(BASE_DIR, 'media')

I got this error: ```
ImportError at /admin/gallery/photo/scan/
/Users/Desktop/chn2/chn/media doesn't look like a module path

@aaugustin
Copy link
Owner

It's a "dotted Python path to a storage backend".

Perhaps the example can help you:

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

1 participant