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

Find a way to get email md5 for avatar #4

Open
chaws opened this issue Oct 8, 2015 · 0 comments
Open

Find a way to get email md5 for avatar #4

chaws opened this issue Oct 8, 2015 · 0 comments

Comments

@chaws
Copy link
Contributor

chaws commented Oct 8, 2015

On colab/accounts/templatetags/gravatar.py:
try:
email = EmailAddress.objects.get(address=email)
except EmailAddress.DoesNotExist:
pass

email_md5 = getattr(email, 'md5', 'anonymous')

it's using super_archives to generate md5 and get gravatar image, let's try to find a way of doing so with plugin

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