Remote user's avatar #268
Unanswered
ogurec-ogurec
asked this question in
Q&A
Replies: 1 comment 2 replies
-
When you delete the user, the foreign key I can figure that the blank avatar is the effect of using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have successfully installed the avatar by the guide readthedocs.
The situation is as follows: I removed everywhere (django-comments-xtd and django-avatar) the gravatar function. I display the avatars that the user has uploaded. Everything works well, but there is such a nuance, if I delete a user, an empty avatar is displayed at the comment of the deleted user. How can I check that the user is deleted, and assign, for example, default-deleted.jpg?
Avatars display in templates this:
<img src = "{% avatar_url comment.user%}" />
Bob Jenkins - is a remote user.
Beta Was this translation helpful? Give feedback.
All reactions