标签: python django django-models
在Django中,是否有可能做到这样的事情?
x = 'What folder would you like to open?' cd desktop cd x source bin/activate cd src python manage.py runserver
具有以下前提:
foo = Account.objects.filter(owner__address__zipcode='94704').get()
Owner
Address
答案 0 :(得分:0)
是的,Django ORM支持此功能。
该功能为documented here。