Hi,

I'm using Django .96 and I am having a problem with pagination which I
find very strange.

My model is something like this and I have objects in the database:


class Conference(models.Model):
    conf_no = models.CharField(maxlength=200)
    country = models.CharField(maxlength=2,choices=country_choices)
    summary  = models.TextField()
    date = models.DateField()

    def __str__(self):
        return self.conf_no


>>> paginator.hits
6

>>> paginator.pages
2

>>> paginator.get_page(0)
[ , ]

I'm getting an empty list!!!

Any help would be great






--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to