aboutsummaryrefslogtreecommitdiff
path: root/files/ko
diff options
context:
space:
mode:
authorhochan Lee <hochan049@gmail.com>2021-05-23 21:55:45 +0900
committerGitHub <noreply@github.com>2021-05-23 21:55:45 +0900
commit00b8d68d4c4610558b19c3f79f4a8b16e69d963e (patch)
tree628f3cea08911ccc37e053972152716749be90ce /files/ko
parent2ea9042881df398be39b05bf9349d6ade8cc0d73 (diff)
downloadtranslated-content-00b8d68d4c4610558b19c3f79f4a8b16e69d963e.tar.gz
translated-content-00b8d68d4c4610558b19c3f79f4a8b16e69d963e.tar.bz2
translated-content-00b8d68d4c4610558b19c3f79f4a8b16e69d963e.zip
[FIX] typo err, book_inst to book_instance, django (#727)
Diffstat (limited to 'files/ko')
-rw-r--r--files/ko/learn/server-side/django/forms/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ko/learn/server-side/django/forms/index.html b/files/ko/learn/server-side/django/forms/index.html
index e8b51c3bf5..e0bd25a4fc 100644
--- a/files/ko/learn/server-side/django/forms/index.html
+++ b/files/ko/learn/server-side/django/forms/index.html
@@ -341,8 +341,8 @@ def renew_book_librarian(request, pk):
        # 폼이 유효한지 체크한다:
        if book_renewal_form.is_valid():
            # book_renewal_form.cleaned_data 데이타를 요청받은대로 처리한다(여기선 그냥 모델 due_back 필드에 써넣는다)
-            book_inst.due_back = book_renewal_form.cleaned_data['renewal_date']
-            book_inst.save()
+            book_instance.due_back = book_renewal_form.cleaned_data['renewal_date']
+            book_instance.save()
            # 새로운 URL로 보낸다:
            return HttpResponseRedirect(reverse('all-borrowed') )