Skip to content

Commit 2cdf0db

Browse files
committed
django
django
1 parent 0eb0c4d commit 2cdf0db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HelloWorld/TestModel/view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def hello(request):
5555
# return HttpResponseRedirect('/hello/list/')
5656

5757
def add_article_new(request):
58-
if request.methodo == 'POST':
58+
if request.method == 'POST':
5959
form = ArticleForm(request.POST)
6060
if form.is_valid():
6161
post = form.save(commit = False)

0 commit comments

Comments
 (0)