Fix user log that always shows empty

This commit is contained in:
Raphael Michel
2019-08-30 13:00:02 +02:00
parent 67da6a18a8
commit e3a4ec93fc
3 changed files with 30 additions and 5 deletions

View File

@@ -195,6 +195,10 @@ class User(AbstractBaseUser, PermissionsMixin, LoggingMixin):
None, locale=self.locale, user=self
)
@property
def top_logentries(self):
return self.all_logentries
@property
def all_logentries(self):
from pretix.base.models import LogEntry