0

help me to find its solution..

Environment: Request Method: GET Request URL: http://127.0.0.1:8000/formdbinsertapp/ Django Version: 1.11.3 Python Version: 3.6.0 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'formdbinsertapp.apps.FormdbinsertappConfig'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] Traceback: File "C:\Program Files (x86)\Python36-32\lib\site-packages\django\core\handlers\exception.py" in inner 41. response = get_response(request) File "C:\Program Files (x86)\Python36-32\lib\site-packages\django\core\handlers\base.py" in _get_response 198. "returned None instead." % (callback.__module__, view_name) Exception Type: ValueError at /formdbinsertapp/ Exception Value: The view formdbinsertapp.views.insert didn't return an HttpResponse object. It returned None instead.

20th Jul 2017, 5:02 AM
Yash Z Das
Yash Z Das - avatar
1 Respuesta
0
check your views.py in app directory
24th Jul 2017, 2:03 PM
Kedar Kale
Kedar Kale - avatar