From 44eaed7a1b616f7f9202e4513b199a1445f50bed Mon Sep 17 00:00:00 2001 From: "Chen, Chien-ting" Date: Sun, 31 Jan 2021 22:15:16 +0800 Subject: [PATCH] add nounform --- gazhdict/addentry/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gazhdict/addentry/views.py b/gazhdict/addentry/views.py index d71075a..7367f70 100644 --- a/gazhdict/addentry/views.py +++ b/gazhdict/addentry/views.py @@ -8,9 +8,9 @@ from django.forms import formset_factory # Create your views here. -def hello_world(request): +'''def hello_world(request): return render(request, 'hello_world.html', - {'current_time' : str(datetime.now()),}) + {'current_time' : str(datetime.now()),})''' @login_required #登入必要 def add_entry(request):