django1/django
Gary Wilson Jr 9a5301ccbc Made the Paginator class a bit more backwards compatible with the lecacy `ObjectPaginator` class by using the `ObjectPaginator`'s `_get_count` method. Instead of explicitly checking for an instance of `QuerySet`, this now allows any object with a `count()` or `__len__()` method defined to be passed to Paginator. For one, this is useful when you have custom `QuerySet`-like classes that implement a `count()` method but don't inherit from `QuerySet` explicitly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:01:55 +00:00
..
bin Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py. 2008-07-06 06:39:44 +00:00
conf Missing compiled messages file from previous commit. 2008-07-27 20:03:35 +00:00
contrib Fixed #6427 -- Added some more features to the Austrian localflavor. 2008-07-27 18:54:56 +00:00
core Made the Paginator class a bit more backwards compatible with the lecacy `ObjectPaginator` class by using the `ObjectPaginator`'s `_get_count` method. Instead of explicitly checking for an instance of `QuerySet`, this now allows any object with a `count()` or `__len__()` method defined to be passed to Paginator. For one, this is useful when you have custom `QuerySet`-like classes that implement a `count()` method but don't inherit from `QuerySet` explicitly. 2008-07-27 23:01:55 +00:00
db Fixed #6217 -- Reduced the memory used by each ugettext_lazy() call. 2008-07-27 22:51:49 +00:00
dispatch Fixed #7847 -- Removed a whole bunch of unused imports from throughout the codebase. Thanks, julien 2008-07-22 03:24:09 +00:00
forms Fixed #7345 -- In [8089], I'd forgotten that urlparse.urlsplit() didn't return 2008-07-26 17:08:53 +00:00
http Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. Thanks, julien 2008-07-22 03:26:25 +00:00
middleware Fixed #7046 -- set the response status code correctly in ConditionalGetMiddleware. 2008-06-30 07:03:58 +00:00
newforms Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +00:00
oldforms Fixed #7614: the quickening has come, and there now is only one UploadedFile. On top of that, UploadedFile's interface has been improved: 2008-07-07 23:16:00 +00:00
shortcuts Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
template Fixed #4534 -- Added an "else" option to the "ifchanged" template tag. 2008-07-26 22:09:43 +00:00
templatetags Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik 2008-06-26 04:54:10 +00:00
test Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or 2008-07-21 07:57:10 +00:00
utils Fixed #6217 -- Reduced the memory used by each ugettext_lazy() call. 2008-07-27 22:51:49 +00:00
views Corrected spacing in warning message. 2008-07-27 17:25:37 +00:00
__init__.py Bumped version number for 1.0-alpha release. 2008-07-22 01:15:43 +00:00