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

avatar 사진 갱신 문제 #78

Open
hhjeong opened this issue Jan 4, 2015 · 0 comments
Open

avatar 사진 갱신 문제 #78

hhjeong opened this issue Jan 4, 2015 · 0 comments

Comments

@hhjeong
Copy link
Contributor

hhjeong commented Jan 4, 2015

새로이 avatar사진을 올릴 경우 이것이 제대로 갱신이 아니되어 caching 되어있는 사진을 보여주는 것 같습니다.

확인 해보니 settings.py내의 다음과 같이 특정 크기에 대해 자동으로 avatar image를 갱신하는 부분의 경우에 문제가 발생하는 것으로 확인했습니다.

AUTO_GENERATE_AVATAR_SIZES = (45, 80, 120) # 45, 80, 120 사이즈에 대해 이전에 저장된 이미지가 보임
AVATAR_STORAGE_DIR = "avatars"
AVATAR_GRAVATAR_BACKUP = False
AVATAR_DEFAULT_URL = "/images/unknown-user.png"

AUTO_GENERATE_AVATAR_SIZES를 아예 empty로 비워두거나 해당 부분에 대해 확인이 필요할 것 같습니다.

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