-1
html +='<a href="' + urland  + '">' + str(Dag.dag_id) + '</a><br>'

django.db.models.query_utils.deferredattribute object="" at="" 0x040adbf0=""

uthay
  • 123
  • 2
  • 11
  • Welcome to SO, you might need to take the [tour](https://stackoverflow.com/tour). Please provide more information and a [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve). – Nuageux May 29 '17 at 07:34
  • do post how you are passing that to template, what is the expected outcome, with these lines its impossible for anyone to help you – Exprator May 29 '17 at 07:58
  • thank you for answering. actually i can't be specified on what the problems...there are lot of it...... – uthay Jun 01 '17 at 07:16

2 Answers2

0

Is it possible that you are using a database attribute whose value is not yet loaded?

Determine if an attribute is a `DeferredAttribute` in django

st_dude
  • 38
  • 5
0

Give a respose of your view,that how you render data to this template. Your question is not clear..

Try this..

html +=' {{ Dag.dag_id }}
'

shang
  • 34
  • 1
  • 5