Fixed a problem in the backwards-compat abilities of the paginator. Calling count...
commitbb1518c483ae16bded04781160cf6e0eae18a626
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 23 Mar 2008 10:14:32 +0000 (23 10:14 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 23 Mar 2008 10:14:32 +0000 (23 10:14 +0000)
tree4b63f52bab8c65fdbee958e7a994c581264f32f0
parentcebd0942f1ae7454e411e20dc77e5f54e83936e5
Fixed a problem in the backwards-compat abilities of the paginator. Calling count() on a list throws a TypeError not an AttributeError.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/core/paginator.py