Hi 汪晟,
Extending the ORM with a subclass of Query isn't common, and not
documented. Perhaps for extensibility this line of code should use
"self.__class__" but there aren't any guarantees about other parts of the
ORM.
The extensions I created for MySQL only involve the QuerySet layer:
https://dja
Hello Mentors and contributors, I’m a web site developer , when I use
Django . I custom a class < SomeQuery > base on < Query >, and modify it’s
attribute ‘compiler' to Another one which custom by
myself,. But when I use < SomeQuery > in a < Queryset > object, and call
the method filter()