Re: Can't undestrand Url pagination and template

2012-12-02 Thread Lachlan Musicman
On Sun, Dec 2, 2012 at 11:46 PM, joy  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.



Re: Can't undestrand Url pagination and template

2012-12-02 Thread Satinderpal Singh
On Sun, Dec 2, 2012 at 5:16 PM, joy  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 hoping on something better. Let me
> know
This book may help you to understand urls and templates in better way:
http://www.djangobook.com/en/2.0/chapter01.html

--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/

-- 
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.



Can't undestrand Url pagination and template

2012-12-02 Thread joy
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 hoping on something better. Let me 
know 
Joy

-- 
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/-/eRJfMkCS6EEJ.
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.