simple django avatar from gravatar
Installation
To install:
pip install django-daddy-avatar
Usage:
INSTALLED_APPS = (
...
'daddy-avatar',
...
)
{% load daddy_avatar %}
<!-- from string -->
<img src="{{'vchakoshy@gmail.com'|daddy_avatar:50}}" />
<!-- from queryset -->
<img src="{{post.user.email|daddy_avatar:200}}" />
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-daddy-avatar-1.0.3.tar.gz.
File metadata
- Download URL: django-daddy-avatar-1.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9b135c009e02694526261a4b389453bcacf01bde01915106f598558ecf318c3
|
|
| MD5 |
9af63e394c4f5a9ee1e02b6b3cad4cc8
|
|
| BLAKE2b-256 |
6a27cd68e9f1b10c6c2b3c8101c604d6d2c00d2eb180a1bd91849110814abe4b
|