Open RomikimoR opened 2 years ago
Hello,
I have a Django 2.2 project.
I managed to use you filter on a foreign key of foreign key like this
testimgproject_name
Regarding your code it does not seems possible to do the same on more nested foreign key like:
testimgproject__tags_name
Do you confirm ?
Thanks
redefine the class with admin register - it helped me. Example: @admin.register(models.YOUMODEL) class YOUMODELAdmin(admin.ModelAdmin): list_display = ( "FILED", ) search_fields = ("FILED",)
@admin.register(models.YOUMODEL) class YOUMODELAdmin(admin.ModelAdmin): list_display = ( "FILED", ) search_fields = ("FILED",)
Hello,
I have a Django 2.2 project.
I managed to use you filter on a foreign key of foreign key like this
testimgproject_name
Regarding your code it does not seems possible to do the same on more nested foreign key like:
testimgproject__tags_name
Do you confirm ?
Thanks