SHARE
TWEET

Untitled

a guest Jun 25th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. context = {
  2.     'object_field_list': object_field_list,
  3. }
  4.  
  5. return render(request, 'app1/template-detail.html', context)
  6.      
  7. {% for object_field in object_field_list%}
  8.  
  9.     {% for list_value in object_field.value_options %}
  10.        <option>{{ list_value }}</option>
  11.     {% endfor %}
  12.  
  13. {% endfor %}
  14.      
  15. <option>1</option>
  16. <option>2</option>
  17.      
  18. <option>[</option>
  19. <option>'</option>
  20. <option>1</option>
  21. <option>'</option>
  22. <option>,</option>
  23. <option>'</option>
  24. <option>2</option>
  25. <option>'</option>
  26. <option>]</option>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top