@@ -109,9 +109,9 @@ def index(request):
109109 return response
110110
111111 except StandardError as stdErr:
112- # There was an error validationg the request
113- # Use your own logging framework to log the Exception
114- # This was a configuration exception , so we let the user continue
112+ # There was an error validating the request
113+ # Use your own logging framework to log the error
114+ # This was a configuration error , so we let the user continue
115115 print stdErr.message
116116```
117117
@@ -191,9 +191,9 @@ def index(request):
191191 return response
192192
193193 except StandardError as stdErr:
194- # There was an error validationg the request
195- # Use your own logging framework to log the Exception
196- # This was a configuration exception , so we let the user continue
194+ # There was an error validating the request
195+ # Use your own logging framework to log the error
196+ # This was a configuration error , so we let the user continue
197197 print stdErr.message
198198```
199199### Protecting ajax calls on static pages
@@ -273,8 +273,8 @@ def index(request):
273273 return response
274274
275275 except StandardError as stdErr:
276- # There was an error validationg the request
277- # Use your own logging framework to log the Exception
278- # This was a configuration exception , so we let the user continue
276+ # There was an error validating the request
277+ # Use your own logging framework to log the error
278+ # This was a configuration error , so we let the user continue
279279 print stdErr.message
280280```
0 commit comments