Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TypeError at /auth/login/
- render_option() takes exactly 4 arguments (6 given)
- Request Method: GET
- Request URL: https://xxxxxxxx/dashboard/auth/login/?next=/dashboard/
- Django Version: 1.8.2
- Exception Type: TypeError
- Exception Value:
- render_option() takes exactly 4 arguments (6 given)
- Exception Location: /usr/lib/python2.7/site-packages/django/forms/widgets.py in render_options, line 543
- Python Executable: /usr/bin/python
- Python Version: 2.7.5
- Python Path:
- ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
- '/usr/lib/python2.7/site-packages/pysaml2-2.2.0-py2.7.egg',
- '/usr/lib64/python27.zip',
- '/usr/lib64/python2.7',
- '/usr/lib64/python2.7/plat-linux2',
- '/usr/lib64/python2.7/lib-tk',
- '/usr/lib64/python2.7/lib-old',
- '/usr/lib64/python2.7/lib-dynload',
- '/usr/lib64/python2.7/site-packages',
- '/usr/lib64/python2.7/site-packages/gtk-2.0',
- '/usr/lib/python2.7/site-packages',
- '/usr/share/openstack-dashboard/openstack_dashboard']
- Error during template rendering
- In template /usr/lib/python2.7/site-packages/horizon/templates/horizon/common/_form_field.html, error at line 69
- render_option() takes exactly 4 arguments (6 given)
- 59 {% if add_item_link %}
- 60 <div class='input-group'>
- 61 {{ field|add_bootstrap_class }}
- 62 <span class="input-group-btn">
- 63 <a href="{{ add_item_link }}" data-add-to-field="{{ field.auto_id }}" class='btn btn-default ajax-add ajax-modal'>
- 64 <span class="fa fa-plus"></span>
- 65 </a>
- 66 </span>
- 67 </div>
- 68 {% else %}
- 69
- {{ field|add_bootstrap_class }}
- 70 {% endif %}
- 71 {% endwith %}
- 72 {% for error in field.errors %}
- 73 <span class="help-block alert alert-danger {{ form.error_css_class }}">{{ error }}</span>
- 74 {% endfor %}
- 75 </div>
- 76 {% endif %}
- 77 </div>
- 78
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement