Skip to content

Commit 8049478

Browse files
committed
Use both SignedDataForm and HistoryStoreForm in history_refresh.
1 parent 78425e3 commit 8049478

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

debug_toolbar/panels/history/views.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ def history_refresh(request, verified_data):
5656
"id": id,
5757
"store_context": {
5858
"toolbar": toolbar,
59-
"form": SignedDataForm(initial={"store_id": id}),
59+
"form": SignedDataForm(
60+
initial=HistoryStoreForm(
61+
initial={"store_id": id}
62+
).initial
63+
),
6064
},
6165
},
6266
),

0 commit comments

Comments
 (0)