Re: blog breack after 10 post x__x

2011-07-15 Thread Venkatraman S
What you need is a paginator, which paginates through the objects.
Try using endless_pagination. Its an awsum app.

-V

-- 
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: blog breack after 10 post x__x

2011-07-15 Thread Jian Chang
2011/7/16 Jian Chang 

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



pagination.py
Description: Binary data


Re: blog breack after 10 post x__x

2011-07-15 Thread Jian Chang
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 

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



blog breack after 10 post x__x

2011-07-15 Thread Kase
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.