mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Ignore typing error in custom action short description
This commit is contained in:
parent
946305d977
commit
927e477f68
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ class ConversationAdmin(admin.ModelAdmin):
|
|||
|
||||
return response
|
||||
|
||||
export_selected_objects.short_description = "Export selected conversations"
|
||||
export_selected_objects.short_description = "Export selected conversations" # type: ignore
|
||||
|
||||
def export_selected_minimal_objects(self, request, queryset):
|
||||
response = HttpResponse(content_type="text/csv")
|
||||
|
@ -118,7 +118,7 @@ class ConversationAdmin(admin.ModelAdmin):
|
|||
|
||||
return response
|
||||
|
||||
export_selected_minimal_objects.short_description = "Export selected conversations (minimal)"
|
||||
export_selected_minimal_objects.short_description = "Export selected conversations (minimal)" # type: ignore
|
||||
|
||||
def get_actions(self, request):
|
||||
actions = super().get_actions(request)
|
||||
|
|
Loading…
Add table
Reference in a new issue