Advertisement
Guest User

Untitled

a guest
Sep 14th, 2015
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1.  
  2. TypeError at /auth/login/
  3.  
  4. render_option() takes exactly 4 arguments (6 given)
  5.  
  6. Request Method: GET
  7. Request URL: https://xxxxxxxx/dashboard/auth/login/?next=/dashboard/
  8. Django Version: 1.8.2
  9. Exception Type: TypeError
  10. Exception Value:
  11.  
  12. render_option() takes exactly 4 arguments (6 given)
  13.  
  14. Exception Location: /usr/lib/python2.7/site-packages/django/forms/widgets.py in render_options, line 543
  15. Python Executable: /usr/bin/python
  16. Python Version: 2.7.5
  17. Python Path:
  18.  
  19. ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
  20. '/usr/lib/python2.7/site-packages/pysaml2-2.2.0-py2.7.egg',
  21. '/usr/lib64/python27.zip',
  22. '/usr/lib64/python2.7',
  23. '/usr/lib64/python2.7/plat-linux2',
  24. '/usr/lib64/python2.7/lib-tk',
  25. '/usr/lib64/python2.7/lib-old',
  26. '/usr/lib64/python2.7/lib-dynload',
  27. '/usr/lib64/python2.7/site-packages',
  28. '/usr/lib64/python2.7/site-packages/gtk-2.0',
  29. '/usr/lib/python2.7/site-packages',
  30. '/usr/share/openstack-dashboard/openstack_dashboard']
  31.  
  32. Error during template rendering
  33.  
  34. In template /usr/lib/python2.7/site-packages/horizon/templates/horizon/common/_form_field.html, error at line 69
  35. render_option() takes exactly 4 arguments (6 given)
  36. 59 {% if add_item_link %}
  37. 60 <div class='input-group'>
  38. 61 {{ field|add_bootstrap_class }}
  39. 62 <span class="input-group-btn">
  40. 63 <a href="{{ add_item_link }}" data-add-to-field="{{ field.auto_id }}" class='btn btn-default ajax-add ajax-modal'>
  41. 64 <span class="fa fa-plus"></span>
  42. 65 </a>
  43. 66 </span>
  44. 67 </div>
  45. 68 {% else %}
  46. 69
  47.  
  48. {{ field|add_bootstrap_class }}
  49.  
  50.  
  51. 70 {% endif %}
  52. 71 {% endwith %}
  53. 72 {% for error in field.errors %}
  54. 73 <span class="help-block alert alert-danger {{ form.error_css_class }}">{{ error }}</span>
  55. 74 {% endfor %}
  56. 75 </div>
  57. 76 {% endif %}
  58. 77 </div>
  59. 78
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement