Open isik-kaplan opened 4 days ago
Well, that would be lovely if you implemented it and made a PR. I was following Django's conventions and don't want to override the existing logic. As Django suggests, I like to keep things clean and simple. Future changes on Django's side shouldn't affect it heavily.
Hi, there is no option for a feature request or a question so I had to use the bug template but cleared everything inside, jfyi.
I was looking for a basic django admin autocomplete solution that supported django 4+ and stumbled upon this one and from the readme docs it looks fine but I was curious if you were planning on making the public api simpler. I haven't started using this yet, just browsing but wanted to ask regardless.
This is fine but I'd prefer
I've checked the admin code and I think this is as simple as registering a Lookup to the ORM. Same concept apparently.
I'm not sure if I got the whole idea behind DALFRelatedFieldAjax vs DALFRelatedOnlyField at a first glance but ^ method should allow you to set the distinction I believe.
I haven't tested out the code at all but from the looks of django's source code and your code this seems like it should work.