2011/7/16 Jian Chang <changjia...@gmail.com>

> django doesn't have,
> but you can extent  based on django.core.paginator.Paginator.The attachment
> is what i use, you can change it by your needs
>
>
>
>
> 2011/7/16 Kase <dark.k...@gmail.com>
>
>> realy i dont know how to expres this..
>>
>> i need this
>> (is a blog app)
>>
>> 1) post
>> 2)post
>> 3)post
>> ...
>> 10)post
>> page 1,2,3,4,5,6,7,8.....last
>>
>> when clic 2  list of post are
>> 11)post
>> 12)post
>> ....
>> 20)post
>>
>> django  have somthing to do this in the easiest????
>>
>> my code is the (obius)
>>
>> {%for x in post%}
>> {{x.title}}
>> {{x.post}}
>> by:{{x.user.username}} about  {(x.time|timesince)} ago
>> {%endfor%}
>>
>> --
>> 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.
>>
>>
>

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

Attachment: pagination.py
Description: Binary data

Reply via email to