mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Merge pull request #109 from kminkov/master
Add Django 1.8+ style Meta app_label to Avatar model
This commit is contained in:
commit
64e7effc28
1 changed files with 3 additions and 0 deletions
|
|
@ -70,6 +70,9 @@ class Avatar(models.Model):
|
|||
blank=True)
|
||||
date_uploaded = models.DateTimeField(default=now)
|
||||
|
||||
class Meta:
|
||||
app_label = 'avatar'
|
||||
|
||||
def __unicode__(self):
|
||||
return _(six.u('Avatar for %s')) % self.user
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue