Hi All, I am new to django.I am practicing Django using the book "The Definitive Guide to Django" by Jacob and Adrian.I have installed Django on Ubuntu.I tried to process HTML form as directed in that book,then i am getting the following error.Please suggest me a solution for this.
Environmen: Request Method: GET Request URL: http://127.0.0.1:8000/search-form/ Django Version: 1.2.4 Python Version: 2.6.4 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'mysite.books'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Template Loader Error: Django tried loading these templates, in this order: Using loader django.template.loaders.filesystem.Loader: Using loader django.template.loaders.app_directories.Loader: Traceback: File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/home/prvr/Desktop/djcode/mysite/../mysite/books/views.py" in search_form 4. return render_to_response('/home/prvr/Desktop/djcode/mysite/ books/search_form.html') File "/usr/local/lib/python2.6/dist-packages/django/shortcuts/ __init__.py" in render_to_response 20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "/usr/local/lib/python2.6/dist-packages/django/template/ loader.py" in render_to_string 181. t = get_template(template_name) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.