mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 18:05:51 +01:00
Removed pins django app, and moved code to the core. Moved user related code out of core to the users app.
12 lines
222 B
Python
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 |