I am trying to include some PHP code in Django template to created PHP file(s) which get executed on the web server when copied across.
I'm finding that PHP code that is inside of <<<END1 and END1; blocks, e.g. print <<<END1 ...{something} END1: causes the Django Template rendering to not create the entire file. If I keep all PHP code in the template, but remove this block of <<<END1 and END1 lines, then it creates it ok. I thought that {% autoescape off %} with {% end autoescape %} block would resolve this, but it doesn't appear to. Any thoughts on how to make this work? (Note: inside the <<<END1 block in PHP is some input forms with pulldowns). -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.