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

Warning errors for unset avatar field on user model

Open PavelPancocha opened this issue 1 year ago • 1 comments

We started getting a lots of "warning" errors like:

avatar field must be an ImageField/URLField on the user model, or a callable

I found out, it is because sometimes the "avatar" is not set, but it logs an error instead of just displaying the fallback icon.

PavelPancocha avatar Sep 11 '23 16:09 PavelPancocha

I did fix for it: https://github.com/farridav/django-jazzmin/pull/509

PavelPancocha avatar Sep 11 '23 16:09 PavelPancocha