On Sun, Dec 2, 2012 at 11:46 PM, joy <agnese.camell...@gmail.com> wrote: > Hello, i'm new to Django and i'm still learning how to use it. I got a book > but somethings doesn't work, i cannot work with templates, and every advice > given from the book look not precise and obsolete (the book speaks about a > previous version of django > Anyone has a good tutorial on templates. > I'm trying with the website of django
Hi Joy, The tutorial on the Django site is both current and excellent: https://docs.djangoproject.com/en/1.4/intro/tutorial01/ You will find references to the templates scattered through out it, but page 4 has more than others https://docs.djangoproject.com/en/1.4/intro/tutorial04/ Basically the rule is {{ varname }} and {% template function %} + standard html. There's also the full template docs: https://docs.djangoproject.com/en/1.4/topics/templates/ cheers L. -- ...we look at the present day through a rear-view mirror. This is something Marshall McLuhan said back in the Sixties, when the world was in the grip of authentic-seeming future narratives. He said, “We look at the present through a rear-view mirror. We march backwards into the future.” http://www.warrenellis.com/?p=14314 -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.