add nounform
This commit is contained in:
parent
0d6c58947d
commit
44eaed7a1b
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ from django.forms import formset_factory
|
||||||
|
|
||||||
|
|
||||||
# Create your views here.
|
# Create your views here.
|
||||||
def hello_world(request):
|
'''def hello_world(request):
|
||||||
return render(request, 'hello_world.html',
|
return render(request, 'hello_world.html',
|
||||||
{'current_time' : str(datetime.now()),})
|
{'current_time' : str(datetime.now()),})'''
|
||||||
|
|
||||||
@login_required #登入必要
|
@login_required #登入必要
|
||||||
def add_entry(request):
|
def add_entry(request):
|
||||||
|
|
Loading…
Reference in a new issue