在django, https://docs.djangoproject.com/en/dev/topics/db/queries/#lookups- that-span-relations ,跨关系在django为JOIN提供一种容易的方式。 模板中是否有这样做的方法(使用模板标的)?
Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...