Skip to content

Commit b1d3d6b

Browse files
committed
Not testing validation here
1 parent cac352b commit b1d3d6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testapp/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
def home(request):
88
if request.POST:
99
form = TelForm(request.POST)
10-
if form.is_valid():
11-
return HttpResponseRedirect('{path}?ok'.format(path=request.path))
10+
return HttpResponseRedirect('{path}?ok'.format(path=request.path))
1211
else:
1312
form = TelForm()
1413

0 commit comments

Comments
 (0)