Files
Pinry/pinry/users/models.py
Krzysztof Klimonda 53f05dbb6d A general project refactor
Removed pins django app, and moved code to the core. Moved user related
code out of core to the users app.
2013-03-03 04:47:34 -08:00

12 lines
222 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