1👍
You can use select_related()
. Like this manner,
names = testcasecache.objects.select_related('keyword').order_by('-name')
https://docs.djangoproject.com/en/dev/ref/models/querysets/#select-related
0👍
By using keywordcache table you can fetch the particular keyword of that particular test case
name=testcasecache.objects.filter(keyword=kid,testcase=tid)
where tid is ur testcase id
and kid is your keyword id
- [Answer]-Tracking anonymous users in Angular app
- [Answer]-Testing subdomain in development settings. foo.localhost:8000/
- [Answer]-Django Responds code 500 no matter what
- [Answer]-DjangoCMS Sekizai {% render_block "js" %} disable usage of jQuery
Source:stackexchange.com