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 I fix it using > > from django.core.paginator import Paginator as ObjectPaginator, > InvalidPage > > but in some code line call to > > get_page() method > > 'Paginator' object has no attribute 'get_page' > > > where is my problem???? > > > Thanks > > > > >
get_page is from version < 1.0 in > 1.0 use page(num) take a look at : http://www.djangoproject.com/documentation/models/pagination/ Leonel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---