[Fixed]-Accessing View Data In Model

1👍

Create string like

"Welcome {first_name} Im glad you could come back Mr.{last_name}"

Then in view(using python string formatting)

Model.field.value.format(first_name=first_name,last_name=last_name")

Leave a comment