We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1acc0e commit 1a52814Copy full SHA for 1a52814
intbot/core/admin.py
@@ -87,6 +87,11 @@ class PretalxDataAdmin(admin.ModelAdmin):
87
"processed_at",
88
]
89
90
+ def get_queryset(self, request):
91
+ qs = super().get_queryset(request)
92
+ qs = qs.defer("content")
93
+ return qs
94
+
95
def pretty_content(self, obj: PretalxData):
96
return format_html("<pre>{}</pre>", json.dumps(obj.content, indent=4))
97
@@ -113,6 +118,11 @@ class PretixDataAdmin(admin.ModelAdmin):
113
118
114
119
115
120
121
122
123
124
125
116
126
def pretty_content(self, obj: PretixData):
117
127
128
0 commit comments