Benoît Perrin

Results 4 comments of Benoît Perrin

Hi @johnrao7, Same here. This seems to be an incompatibility with Django 4.1, documented in [Django #31546]( https://code.djangoproject.com/ticket/31546). Our library shows an error when [this line of code](https://github.com/jmfederico/django-use-email-as-username/blob/main/django_use_email_as_username/management/commands/create_custom_user_app.py#L12) is called....

Thanks @FedeG for providing this workaround. For the "selected" option to work, I had to override both _lookup_kwarg_ and _lookup_val_ (see below code). ```python class FieldNameFilter(admin.ChoicesFieldListFilter): title = 'field_name' parameter_name...

@spechtx Thanks for pointing this out. I am running into the same issue. Have you found a workaround in your case?

I was not able to find a link with the issue mentioned here. My “workaround” is not to use `autocomplete_fields` and AddressWidget on the same page. IMHO, a solution here...