forked from CGM_Public/pretix_original
Add Order.meta_info_data
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import copy
|
import copy
|
||||||
|
import json
|
||||||
import os
|
import os
|
||||||
import string
|
import string
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
@@ -183,6 +184,10 @@ class Order(LoggedModel):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.full_code
|
return self.full_code
|
||||||
|
|
||||||
|
@cached_property
|
||||||
|
def meta_info_data(self):
|
||||||
|
return json.loads(self.meta_info)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def full_code(self):
|
def full_code(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user