Monday, April 30, 2012

Re: Templates not working properly

Hi, the delimiters use are using are wrong it should be {% not (%

On Mon, Apr 30, 2012 at 3:41 PM, Zaerion <zaerion@gmail.com> wrote:
I'm new to using Django and was working my way through the tutorial to get a better feel of it. I'm stuck on part 3 of the tutorial and the section where they show you how to use templates. When I hard-code the HttpResponse object everything works fine, but when I try to use a template it appears that none of the python code is being interpreted and it displays in the web browser. I am using Debian 6, Python 2.6, and Django 1.4 and things have been going smoothly up until this point. I'm sure I missed a setting somewhere or have something configured incorrectly, but I can't seem to find it. Any help is appreciated.

--
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/-/IErgzK-V4BYJ.
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.



--

Gerald Klein DBA

ContactMe@geraldklein.com

www.geraldklein.com

jk@zognet.com

708-599-0352


Linux registered user #548580 



--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment