add series to table
This commit is contained in:
+2
-1
@@ -62,6 +62,7 @@ class CaseTable(tables.Table):
|
||||
#"history",
|
||||
#"condition",
|
||||
"created_date",
|
||||
"series",
|
||||
"author",
|
||||
)
|
||||
sequence = ("view", )#, "series")
|
||||
@@ -70,7 +71,7 @@ class CaseTable(tables.Table):
|
||||
def __init__(self, data=None, *args, **kwargs):
|
||||
super().__init__(
|
||||
data.prefetch_related(
|
||||
"author",#"condition", "condition__synonym"
|
||||
"author", "series",#"condition", "condition__synonym"
|
||||
),
|
||||
*args,
|
||||
**kwargs,
|
||||
|
||||
Reference in New Issue
Block a user