Skip to content

Commit 12d0a14

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

debug_toolbar/panels/history/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ 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(initial={"store_id": id}).initial
61+
),
6062
},
6163
},
6264
),

0 commit comments

Comments
 (0)