Yeah,
versions problems
I fix it downloading the lasted rosetta version from svn.
svn co http://django-rosetta.googlecode.com/svn/trunk/
Ty a lot
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Pagination changed quite a bit in 1.0. There's a chance you'll have to
change more than simply get_page(). An easier-to-read list of the
Paginator and Page methods and attributes is here:
http://docs.djangoproject.com/en/dev/topics/pagination/#paginator-objects
(I ran into the same problem
Patricio Palma wrote:
> Hi guys.
> I'm trying to use Rosetta ( http://code.google.com/p/django-rosetta/ )
>
> in a view (home, a rosetta views) is using a ObjectPaginator and
> InvalidPage but i've a execption
> cant find module ObjectPaginator.
>
> Googling
Hi guys.
I'm trying to use Rosetta ( http://code.google.com/p/django-rosetta/ )
in a view (home, a rosetta views) is using a ObjectPaginator and
InvalidPage but i've a execption
cant find module ObjectPaginator.
Googling I fix it using
from django.core.paginator import Paginator
I'm building an app that requires pagination. I looked at the
official
pagination documentation I found at:
http://www.djangoproject.com/documentation/models/pagination/
I followed the tutorial and basically: paginator =
ObjectPaginator(Article.objects.all(), 5) is where all the "magic&quo
> will be poor in and very busy site.
>
> Should I be concerned about this? What are your thoughs?
No, because the ObjectPaginator does only two queries: one is a COUNT
to determine whether the specific page of the Paginator being request
is valid (and to fill the "hits" v
jangoproject.com/documentation/models/pagination/
>
> I followed the tutorial and basically: paginator =
> ObjectPaginator(Article.objects.all(), 5) is where all the "magic"
> happens.
>
> What I'm concerned about is that Article.objects.all() will return a
> query_set
olumn 'kb_article_contententry.id' in 'where
clause'").
As I see it, this is the subquery, failing to execute, since the count
probably does not add the necessary joins for it to be valid. The
problem comes when the ObjectPaginator tries to select the "hits"
property. The current code execu
8 matches
Mail list logo