mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 16:45:41 +01:00
10 lines
220 B
Python
10 lines
220 B
Python
import hashlib
|
|
from django.contrib.auth.models import User as BaseUser
|
|
|
|
class User(BaseUser):
|
|
@property
|
|
def gravatar(self):
|
|
return hashlib.md5(self.email).hexdigest()
|
|
|
|
class Meta:
|
|
proxy = True |