The default common media_type for xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Is it possible to support this media_type. Maybe in configuration or via a classmethod.
For now I resorted to use :
from django.apps import AppConfig
from drf_excel.renderers import XLSXRenderer
class AppConfig(AppConfig):
name = "app.app"
verbose_name = _("app")
def ready(self):
XLSXRenderer.media_type = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
The default common media_type for xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Is it possible to support this media_type. Maybe in configuration or via a classmethod.For now I resorted to use :