Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- context = {
- 'object_field_list': object_field_list,
- }
- return render(request, 'app1/template-detail.html', context)
- {% for object_field in object_field_list%}
- {% for list_value in object_field.value_options %}
- <option>{{ list_value }}</option>
- {% endfor %}
- {% endfor %}
- <option>1</option>
- <option>2</option>
- <option>[</option>
- <option>'</option>
- <option>1</option>
- <option>'</option>
- <option>,</option>
- <option>'</option>
- <option>2</option>
- <option>'</option>
- <option>]</option>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement