mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix #307 -- Log sent emails
This commit is contained in:
committed by
Raphael Michel
parent
adbe966d85
commit
cf334e2b48
@@ -1,3 +1,4 @@
|
||||
import json
|
||||
from django.contrib.contenttypes.fields import GenericForeignKey
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db import models
|
||||
@@ -124,3 +125,7 @@ class LogEntry(models.Model):
|
||||
return a_text
|
||||
else:
|
||||
return ''
|
||||
|
||||
@cached_property
|
||||
def parsed_data(self):
|
||||
return json.loads(self.data)
|
||||
|
||||
Reference in New Issue
Block a user