.
This commit is contained in:
+4
-3
@@ -26,9 +26,6 @@ class CidUserTable(tables.Table):
|
||||
cid = tables.LinkColumn(
|
||||
"cid_scores", args=[A("cid"), A("passcode")], orderable=True
|
||||
)
|
||||
edit = tables.LinkColumn(
|
||||
"generic:update_cid", text="Edit", args=[A("pk")], orderable=True
|
||||
)
|
||||
# image = ImageColumn("image", orderable=False)
|
||||
# clone = tables.LinkColumn('anatomy:anatomy_question_clone',
|
||||
# text='Clone',
|
||||
@@ -44,6 +41,10 @@ class CidUserTable(tables.Table):
|
||||
|
||||
emails = tables.Column(empty_values=(), orderable=False)
|
||||
|
||||
edit = tables.LinkColumn(
|
||||
"generic:update_cid", text="Edit", args=[A("pk")], orderable=True
|
||||
)
|
||||
|
||||
class Meta:
|
||||
model = CidUser
|
||||
template_name = "django_tables2/bootstrap4.html"
|
||||
|
||||
Reference in New Issue
Block a user