We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb0c4d commit 2cdf0dbCopy full SHA for 2cdf0db
1 file changed
HelloWorld/TestModel/view.py
@@ -55,7 +55,7 @@ def hello(request):
55
# return HttpResponseRedirect('/hello/list/')
56
57
def add_article_new(request):
58
- if request.methodo == 'POST':
+ if request.method == 'POST':
59
form = ArticleForm(request.POST)
60
if form.is_valid():
61
post = form.save(commit = False)
0 commit comments