在尝试更改我拥有的模型的Django管理中所有表的任何行时,我使用主题Django-jet和Django 2.1,我收到此错误:
_init__() missing 1 required positional argument: 'sortable_by'
有什么办法可以解决它而不降级? 错误痕迹
__init__() missing 1 required positional argument: 'sortable_by'
112
113 {% block footer %}<div id="footer"></div>{% endblock %}
114
115 {% jet_delete_confirmation_context as delete_confirmation_context %}
116 {{ delete_confirmation_context }}
117
118 {% jet_change_form_sibling_links_enabled as show_siblings %}
119 {% if change and show_siblings %}
120 <div class="changeform-navigation">
121 {% spaceless %}
122 {% jet_previous_object as sibling %} <-------ERROR IS HERE
123 <a{% if sibling.url %} href="{{ sibling.url }}"{% endif %} class="changeform-navigation-button segmented-button left{% if not sibling %} disabled{% endif %}" title="{{ sibling.label }}">
124 <span class="changeform-navigation-button-icon left icon-arrow-left"></span>
125 <span class="changeform-navigation-button-label">
126 {% if sibling %}
127 {{ sibling.label }}
128 {% else %}
129 ---
130 {% endif %}
131 </span>
132 </a>