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

Attaching avatars to things other than Users #89

Open
kristofer opened this issue Jun 9, 2014 · 3 comments
Open

Attaching avatars to things other than Users #89

kristofer opened this issue Jun 9, 2014 · 3 comments

Comments

@kristofer
Copy link

Is there a way to attach avatars to other things than Users? I'd like to use it to attach avatars (well, company logos) to my Company objects (and I really like the mgmt stuff you bring.)

@lggwettmann
Copy link

lggwettmann commented Jun 26, 2018

Same question here. That would be super useful if we could use django-avatar for our user avatars and other models as well.

Is there a hack we can perform or anything like that? Other option would be to implement it ourselves in our apps or fork the code and come up with a version especially for other models. That would be a pity, though.

How have you solved it, @kristofer ?

@anuj9196
Copy link

Same question here. I too need this feature. In my case, I have a model to store Person information and want to get gravatar from the email of the person or allow to upload one just like we do for User model.

@johanneswilm
Copy link
Member

Yes, if any of you @anuj9196 @lggwettmann @kristofer are willing to write a PR for this, I will review.

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

4 participants