.x) - side question what
happen to .4 and .5?
3- the paginate module http://paginate.workaround.org/?page_nr=1 and
http://pypi.python.org/pypi/paginate/0.3.2
There has been much confusion indeed. For a long time there has been the
webhelpers.pagination module that Ben ported from Ruby
#1 (Rails pagination) is deprecated and will eventually be deleted,
perhaps by Pylons 1.0. Not recommended for any new project.
#2 (webhelpers.paginate) is the right answer. The latest version was
just pushed yesterday.
#3 (paginate.workaround.org) works but is falling out of date. If
you're
happen to .4 and .5?
3- the paginate module http://paginate.workaround.org/?page_nr=1 and
http://pypi.python.org/pypi/paginate/0.3.2
now #3 was supposed to become part of webhelpers (so I read), does
that means #3 and #2 are the same?
why #1 got replaced? what are it's problems?
will #2 and #3
.
From what I understand currently pylons has 3 different pagination
modules. 1- current released webhelpers package (0.3.x)
http://pypi.python.org/pypi/WebHelpers/
2- current trunk webhelpers package (0.6.x) - side question what
happen to .4 and .5?
3- the paginate module http
On Donnerstag, 1. Mai 2008, Christoph Haas wrote:
I'm confident that #2 is stable. I'm using it in two real-life projects
already. Feel free to use that.
One note: I'm tossing a few variable names around. So I rather meant that
the basic functionality is stable and tested while the API might
Hi, Tobias...
On Dienstag, 29. April 2008, Saibot wrote:
I am using paginate and have some problems with it.
Thats my controller code:
items = meta.metadata.tables.get(table).select().order_by(column)
I'm no SQLAlchemy guru. But with SQLAlchemy 0.4.* that should just be:
items =
Hi Christoph,
items = meta.metadata.tables.get(table).select().order_by(column)
I'm no SQLAlchemy guru. But with SQLAlchemy 0.4.* that should just be:
items = sqlalchemy.select([yourtable])
This is a generic aproach to display/browse data in tables, which are
*not* defined in my
Sorry guye, false alarm:
According to http://pyodbc.sourceforge.net/docs.html#cursor
pyodbc does not support rowcount.
On 30 Apr., 11:11, Tobias Bender [EMAIL PROTECTED] wrote:
Hi Christoph,
items = meta.metadata.tables.get(table).select().order_by(column)
I'm no SQLAlchemy guru. But
Hi,
I am using paginate and have some problems with it.
Thats my controller code:
items = meta.metadata.tables.get(table).select().order_by(column)
c.page = paginate.Page(items, sqlalchemy_session=meta.Session,
current_page=current_page)
return render('/databrowse/table.html')
executing this
On Mittwoch, 16. April 2008, blaf wrote:
something strange appened... when using the keyword host in a Page
object:
c.page = h.Page(hosts, count=hosts.count(), page_nr=page_nr,
items_per_page=25, host=host)
I got an error in the link generation function:
${ c.page.pager('$link_first ~5~
Hi,
something strange appened... when using the keyword host in a Page
object:
c.page = h.Page(hosts, count=hosts.count(), page_nr=page_nr,
items_per_page=25, host=host)
I got an error in the link generation function:
${ c.page.pager('$link_first ~5~ $link_last') }
it tried to replace the
On Apr 9, 2008, at 4:41 PM, blaf wrote:
Latest paginate gives me lt;lt; and gt;gt; in the pager links
instead of
I've fixed this in the repo. Thanks for the catch!
Cheers,
Ben
smime.p7s
Description: S/MIME cryptographic signature
On Apr 10, 2:39 pm, Ben Bangert [EMAIL PROTECTED] wrote:
I've fixed this in the repo. Thanks for the catch!
Nice, works as expected =)
Blaise
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
Is it possible to get only the target dataset (like records 20 to 30)?
It can be very memory consuming?
There is any example out there about paginator+sqlalchemy?
Blaise
On Mar 13, 10:30 am, Mike Orr [EMAIL PROTECTED] wrote:
I have an example of Paginator + SQLAlchemy at work, but I'm at
Just found how... I think... pretty impressive this module...
page_nr = request.params.get('page_nr', 1)
q = request.params.get('q')
rs = Session.query(Search).filter(Search.q.like('%'+q
+'%')).order_by('q asc')
c.page = h.Page(rs, count=rs.count(), page_nr=page_nr,
items_per_page=25, q=q)
On Wed, Apr 9, 2008 at 12:05 PM, blaf [EMAIL PROTECTED] wrote:
Is it possible to get only the target dataset (like records 20 to 30)?
It can be very memory consuming?
That's what it does. You instantiate Page with the Query object. In
the template you iterate the Page, which downloads
Thanks Mike... you got a more complete one =)
The more I use Pylons the more I'm impressed by all the
contributions... juste started using your Flash webhelper today...
Thanks.
On Apr 9, 3:58 pm, Mike Orr [EMAIL PROTECTED] wrote:
--~--~-~--~~~---~--~~
You
On Wed, Apr 9, 2008 at 1:04 PM, blaf [EMAIL PROTECTED] wrote:
Thanks Mike... you got a more complete one =)
The more I use Pylons the more I'm impressed by all the
contributions... juste started using your Flash webhelper today...
The new helpers haven't gotten much testing, so please
On Wed, Apr 9, 2008 at 2:57 PM, blaf [EMAIL PROTECTED] wrote:
Haven't tried everything but had problem having the Flash message
appears on the next page... A session.save() in the __call__()
function fixed it.
D'oh, stupid me! I've pushed an update.
Which comes back to my question
On Apr 9, 7:00 pm, Mike Orr [EMAIL PROTECTED] wrote:
D'oh, stupid me! I've pushed an update.
Thanks
Which comes back to my question yesterday, is it inefficient to call
session.save() several times in an action? If so, it's difficult to
have utility methods or library classes that modify
Latest paginate gives me lt;lt; and gt;gt; in the pager links
instead of
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To
21 matches
Mail list logo