Friday, August 24, 2012

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

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 asks us to copy a function from a template provided by django, and alter a couple of things. The code example and the template are a bit different post altering though (I guess this is because I am using 1.4;s default packages and presumably the author was using 1.2), but I don't think these are relevant to my problem (I use in rather than has.key etc)

Name Error at /admin/todo/datetime/add/
global name 'escape' is not defined

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1P4N5wMm4VEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment