django-unfold icon indicating copy to clipboard operation
django-unfold copied to clipboard

if model name with dash, the list and edit page's css will be error.

Open changwu opened this issue 11 months ago • 3 comments

I report an error, if my model name with dash, something like ths_post, the list page and edit page will display with error css, could u test it? Or tell me how to handle it with dash in model.

changwu avatar Mar 08 '24 09:03 changwu

Would you mind to provide detailed information about this error? How it is possible to replicate it?

lukasvinclav avatar Mar 08 '24 10:03 lukasvinclav

hi, if the model name "ranking", the pages display well, as below: 1 while, the model name is "ths_post", the display will be not tidy, I think its css maybe not works. as below: 2 3

changwu avatar Mar 12 '24 07:03 changwu

I guess it be caused by the model name's underline(sorry, I make mistake with dash and underline).

changwu avatar Mar 12 '24 07:03 changwu

Please make sure that all your registed admin models are inheriting from unfold.admin.ModelAdmin

lukasvinclav avatar May 03 '24 17:05 lukasvinclav