Open benedikt-bartscher opened 1 year ago
@benedikt-bartscher Could you share a simple example that recreates the problem? Thanks!
@benedikt-bartscher set it explicitly:
class MyModel(...):
class Meta:
base_manager_name = 'prefetch_manager'
The check exists because without the meta option set, auto-prefetching won't be performed for related manager querysets.
I've opened #236 to tweak the message from this check.
Python Version
3.11
Django Version
4.1.7
Package Version
1.5.1
Description
Since 1.5.1 i get a warning like this for all my models using django-auto-prefetch: