user profile broken
Clicking to the logged users profile, an error page appears: AttributeError at /dashboard/profile/ 'NoneType' object has no attribute 'object_list' ...
-
Master
Table rendering broken: profile_form.html
Relevant code:
<div class="panel-body"> {% render_table userkey_table %} </div> ... <div class="panel-body"> {% render_table connectcommand_table %} </div>
Related view: user.py - class
MyPreferencesView
Related tables: tables.py - class
UserKeyListTable
,ConnectCommandListTable
-
Master
Solution: Set Tables/Meta property:
template_name = "django_tables2/table_no_page.html"
-
-
-
closed
Toggle commit list -
Please
register
or
sign in
to comment