> On Jan 16, 5:42 pm, Mikey3D <[EMAIL PROTECTED]> wrote: > > Hi Rajesh, > The book chapter 7 doesn't say new sub-dir called books in your > application's templates directory. For the beginners who are reading > the Django book will get confusing.
>On Jan 16, 3:27 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > > You might want to add a comment to an appropriate section in chapter > 7. The book authors have actively called for feedback that will make > the second edition even > better.http://www.djangoproject.com/weblog/2007/dec/16/book/ Rajesh is correct about the fix; however the book's sample code contains an error. The book's example: return render_to_response("books/search.html", { should have been: return render_to_response("search.html", { If the second example is followed, then the HTML code would be under mysite\books\templates, NOT mysite\books\templates\books, which makes it a confusing fix (why have another DIR [books] under templates when templates is already under the books project?). --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---