Open grembo opened 3 years ago
It seems like we're still on 0.12.3. Is it a NOOP there, too?
Would it make sense to expose this as a setting, so the user can choose whether they want djangoql by default or not?
It seems like we're still on 0.12.3. Is it a NOOP there, too?
Yes, it only sets a class variable, which in case of older versions is simply ignored by DjangoQL, as it's unknown to those.
Would it make sense to expose this as a setting, so the user can choose whether they want djangoql by default or not?
Maybe once you upgraded your preferred version to 0.14 (I'm maintaining the FreeBSD port, which uses latest versions by default, that's why I stumbled over this problem)? AFAIK the tunable isn't available in earlier versions and would have to be emulated by setting it explicitly for those, probably not worth the effort.
DjangoQL 0.14 enables advanced search/completion by default. This patch disables it again, so paperless behaves the same regardless of the version used.
See
When using DjangoQL 0.13, this is simply a NOOP.