Adrian Holovaty
|
c21acb6aeb
|
Fixed #1732 -- AttributeErrors in models are no longer ignored by the model validator.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-26 19:28:55 +00:00 |
Luke Plant
|
0c8ac0972c
|
Made negative indexing on QuerySet instances raise an assertion error (previously
it just returned incorrect results).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-26 18:41:03 +00:00 |
Luke Plant
|
a666b98783
|
Fixed bug with Meta.ordering being ignored when slicing a single item off a QuerySet. Thanks, Gábor Fawkes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-23 19:55:30 +00:00 |
Malcolm Tredinnick
|
e57e06d40b
|
Fixed #1901 -- removed typos from calls to _get_image_dimensions and
_get_FIELD_filename. Thanks to tom@jerakeen.org for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-19 09:41:40 +00:00 |
Adrian Holovaty
|
3cef18cb51
|
Fixed #1884 -- Made django.db.models.options.get_verbose_name smarter. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-15 18:50:54 +00:00 |
Malcolm Tredinnick
|
785ada1bc8
|
Fixed #1858 : typo in get_FIELD_size() method. Thanks, tom@jerakeen.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-15 00:15:20 +00:00 |
Malcolm Tredinnick
|
1006d6eb06
|
Fixed #1530 -- make count() respect distinct() on QuerySets. Create some
tests for this as well. Thanks to Adam Endicott for the original patch on which
this is based.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-14 23:49:29 +00:00 |
Adrian Holovaty
|
de3edb74c5
|
Added Model.__str__() default fallback, and changed Model.__repr__() to embed Model.__str__() within it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-10 16:10:07 +00:00 |
Adrian Holovaty
|
ad181e21c2
|
Fixed #1818 -- Added better error message for FieldDoesNotExist error. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-09 15:29:53 +00:00 |
Luke Plant
|
d09ae12632
|
Removed unused code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 18:47:28 +00:00 |
Luke Plant
|
7a62bac56e
|
Made QuerySet slicing return IndexError instead of DoesNotExist (and related changes).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 18:46:53 +00:00 |
Adrian Holovaty
|
71f4568613
|
Fixed #1776 -- Fixed bug in DateQuerySet when the field is null. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 18:35:51 +00:00 |
Luke Plant
|
0b73811e26
|
Fixed QuerySet __getitem__ corner case so that it throws exceptions consistently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 12:15:19 +00:00 |
Luke Plant
|
f57e34e990
|
Fixed #1579 - added support for 'Q' objects in limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 00:26:24 +00:00 |
Adrian Holovaty
|
775c06a959
|
Fixed #1729 -- Changed get_FIELD_filename() to return an empty string when field fiel's value is null. Thanks, rhettg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-05 02:59:58 +00:00 |
Adrian Holovaty
|
1f57fcac98
|
Removed ManyToManyRel.singular, which wasn't being used anymore.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-04 04:59:22 +00:00 |
Adrian Holovaty
|
69d6bd7af3
|
Fixed #1745 -- Accessing many-to-many relationships without a PK value now throws an exception. Thanks, Luke
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 19:51:41 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |