First commit

This commit is contained in:
2024-09-26 23:59:03 +02:00
commit f3116a6876
53 changed files with 1822 additions and 0 deletions
View File
+21
View File
@@ -0,0 +1,21 @@
def header_for_table(model):
headers = model.objects.headers()
return [
{
"text": value,
"value": key,
}
for key, value in headers.items()
] + [
{
"text": "Actions",
"value": "actions",
"sortable": False,
},
]
def encrypted_fields(model):
return model.Encryption.fields