farhan0581 / django-admin-autocomplete-filter

A simple Django app to render list filters in django admin using autocomplete widget.
GNU General Public License v3.0
351 stars 75 forks source link

Bugfix #74

Closed sankardatta closed 2 years ago

sankardatta commented 2 years ago

Bugfix: Fix AttributeError: 'NoneType' object has no attribute 'model' on django admin page load <django version 3.2 and python 3.10>

I know it is not ideal but it does the job

merwok commented 2 years ago

Are you sure you have a correctly configured project and admin class? Can you show your admin class?

sankardatta commented 2 years ago

It was a work around for missing remote_field which seems to be the breaking issue after upgrading django to version. I have fixed the issue by overwriting the datatype to a custom datatype on our side. Thanks though.

sankardatta commented 2 years ago

My issue could have been resolved if this PR was merged.