Re: Django by Example: error with to do app; global name 'escape' is not defined

2012-08-25 Thread koiwai
Ah, thanks. Maybe it's time to start using eclipse. On Saturday, August 25, 2012 7:23:45 AM UTC+1, Tundebabzy wrote: > > I think you want to add this import statement: > from django.utils.html import escape > > On 8/24/12, koiwai > wrote: > > plus code > >

Re: Django by Example: error with to do app; global name 'escape' is not defined

2012-08-24 Thread koiwai
r(request, msg + ' ' + (_("You may add another %s below.") % force_text(opts.verbose_name))) return HttpResponseRedirect(request.path) else: self.message_user(request, msg) return HttpResponseRedirect(reverse("admin:todo_item_changelist"))

Django by Example: error with to do app; global name 'escape' is not defined

2012-08-24 Thread koiwai
Hi, I'm currently working through Django by Examples and I am getting an error when attempting to have the user automatically go back to the listing of 'todo items' after entering new 'to do items' through creating a new date. The site