On Montag, 7. April 2008, ZhangShen Peng(Uestc graduating...) wrote:
> can you give me a Mercurial account for webhelpers?
> so many bugs .
>
> On Mon, Apr 7, 2008 at 4:42 PM, ZhangShen Peng(Uestc graduating...)
>
> <[EMAIL PROTECTED]> wrote:
> > Oh ,opss.
> >
> > who delete the _S
On Apr 7, 2008, at 1:52 AM, ZhangShen Peng(Uestc graduating...) wrote:
can you give me a Mercurial account for webhelpers?
so many bugs .
I'll happilly accept PEP8 compliant Mercurial bundles of changes. I
should note that this change that broke paginate did creep in a commit
or tw
can you give me a Mercurial account for webhelpers?
so many bugs .
On Mon, Apr 7, 2008 at 4:42 PM, ZhangShen Peng(Uestc graduating...)
<[EMAIL PROTECTED]> wrote:
> Oh ,opss.
>
> who delete the _SQLAlchemyQuery in source ???
> I merge my source to lastest , and find _SQLAlchemyQ
Oh ,opss.
who delete the _SQLAlchemyQuery in source ???
I merge my source to lastest , and find _SQLAlchemyQuery is lost
so there is a error
-class _SQLAlchemyQuery(object):
-
-"""Iterable that allows to get slices from an SQLAlchemy Query object."""
-
-de
def feed(self,id,page):
c.feed=Feed.query.filter_by(id=id).one()
c.feeds=c.feed.site.feeds
c.posts=c.feed.posts
c.links=Page(c.posts,int(page),30).pager(link_var="page")
return render("news/feed.htm")
oh ,thanks,now use like this is ok
On Mon, Apr 7, 2
On Apr 4, 2008, at 10:51 PM, 张沈鹏(电子科大 毕/就业倒计
时...) wrote:
from webhelpers.pagination import paginate,links
def feed(self,id,page):
c.feed=Feed.query.filter_by(id=id).one()
c.feeds=c.feed.site.feeds
paginator,c.posts=paginate(c.feed.posts,int(page),30)
c.links=lin
I surely this is bug in nightly version webhelpers
I fixed it by modify links.py
see the attachment
2008/4/5 张沈鹏(电子科大 毕/就业倒计时...) <[EMAIL PROTECTED]>:
> from webhelpers.pagination import paginate,links
>
> def feed(self,id,page):
> c.feed=Feed.query.filter_by(id=id).one()
> c
from webhelpers.pagination import paginate,links
def feed(self,id,page):
c.feed=Feed.query.filter_by(id=id).one()
c.feeds=c.feed.site.feeds
paginator,c.posts=paginate(c.feed.posts,int(page),30)
c.links=links.pagelist(paginator.current)
return render("new
2008/4/4 张沈鹏(电子科大 毕/就业倒计时...) <[EMAIL PROTECTED]>:
> see picture in attachment
>
> when I click 0 the links is 01...2345
> when I click 1-4 the links is 0123
> when I click 5 the links is 0123...45
Is this webhelpers.pagination or webhelpers.paginate? Paginate is the
new one. Pagination is
see picture in attachment
when I click 0 the links is 01...2345
when I click 1-4 the links is 0123
when I click 5 the links is 0123...45
--
博客:http://zsp.javaeye.com/
个人网站:http://zsp007.com.cn/
电子科大,7月就要毕业了,何去何从...
双学位:生物医学工程+计算机科学与技术
-- 张教主
--
博客:http://zsp.javaeye.com/
个人网站:http:
10 matches
Mail list logo