Skip to content

Commit d0bfd1d

Browse files
committed
test isave_book_to_database
1 parent 638dfef commit d0bfd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polls/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def choice_func(row):
111111
row[0] = q
112112
return row
113113
if form.is_valid():
114-
request.FILES['file'].save_book_to_database(
114+
request.FILES['file'].isave_book_to_database(
115115
models=[Question, Choice],
116116
initializers=[None, choice_func],
117117
mapdicts=[

0 commit comments

Comments
 (0)