Open twang817 opened 2 years ago
This will fix https://github.com/radiac/django-tagulous/issues/164
@radiac What's about to merge and create a new release?!?
This PR doesn't work.
I add a new one with tests here: https://github.com/radiac/django-tagulous/pull/167
https://github.com/django/django/pull/14871
Django 4.0.x introduced that made it no longer possible to retrieve the media property by simply calling
fget(None)
. Instead, we now must mock out an object containing thei18_name
attribute.