Re: CSRF verification failed. Request aborted.

2011-10-23 Thread ch3ka
in fact a CSR, so you cannot use the default protection without additional hacking. Regards, ch3ka -- 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

Re: Paginator has many Pages, but all are empty?

2011-10-13 Thread ch3ka
On Oct 12, 10:52 pm, Daniel Roseman wrote: > You'll have to show some code. How are you creating the page object? hotels = Hotel.objects.select_related().filter(is_deleted=False).filter(...)... paginator = Paginator(hotels[:200], items_per_page) try: page = int(request.GET.get('page', '1')) exce

Paginator has many Pages, but all are empty?

2011-10-11 Thread ch3ka
I have a problem with django.core.paginator. I have a Page object who's .object_list is [], but at the same time it's repr() states "Page 1 of 11". How is that even possible? Same with page 2, page 3 ,... -- You received this message because you are subscribed to the Google Groups "Django use