- 22 Agu, 2013 11 kayıt (commit)
-
-
Tim Graham yazdı
Added settings.SESSION_SERIALIZER which is the import path of a serializer to use for sessions. Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
-
Lukasz Balcerzak yazdı
-
Rainer Koirikivi yazdı
The view tried to display links to a ModelAdmin's change_view, which resulted in NoReverseMatches if get_urls was overridden to remove the corresponding url.
-
Anssi Kääriäinen yazdı
The __eq__ method now considers two instances without primary key value equal only when they have same id(). The __hash__ method raises TypeError for no primary key case. Fixed #18864, fixed #18250 Thanks to Tim Graham for docs review.
-
Tim Graham yazdı
This reverts commit ce0e86cf. The check is necessary if 'ENGINE' is an empty string. Thanks apollo13 for pointing this out.
-
Kevin Christopher Henry yazdı
-
Marc Tamlyn yazdı
-
Dima Kurguzov yazdı
-
Ramiro Morales yazdı
-
Claude Paroz yazdı
-
Anssi Kääriäinen yazdı
In cases where the same connection (from model A to model B along the same field) was needed multiple times in a select_related query, the join setup code mistakenly reused an existing join.
-
- 21 Agu, 2013 13 kayıt (commit)
-
-
Tim Graham yazdı
Documentation -- Corrected error about Model.full_clean()
-
Kevin Christopher Henry yazdı
Although the ModelForm validation code was changed to call Model.full_clean(), the documentation still said otherwise. The offending phrase was removed.
-
Tim Graham yazdı
-
Daniele Procida yazdı
Added Daniele Procida to the committers list.
-
evildmp yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
refs #20429 Thanks Simon Charette for the report and review.
-
Ramiro Morales yazdı
-
Ramiro Morales yazdı
Thanks simonb for the report, Claude Paroz and Susan Tan for their work on a fix.
-
Anssi Kääriäinen yazdı
Cleaned up the internal implementation of m2m fields by removing related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing if asked for the foreign key value on foreign key to parent model's primary key when child model had different primary key field.
-
Kevin Christopher Henry yazdı
Added OneToOneField to the list of model fields for which the unique argument isn't valid. (OneToOneFields are inherently unique, and if the user supplies a value for unique it is ignored / overwritten.)
-
Ramiro Morales yazdı
-
Ramiro Morales yazdı
Thanks Michael Farrell for the report and his work on the fix.
-
- 20 Agu, 2013 9 kayıt (commit)
-
-
Florian Apolloner yazdı
-
Simon Charette yazdı
-
Anssi Kääriäinen yazdı
-
Anssi Kääriäinen yazdı
Tests by Tim Graham, report from jeroen.pulles@redslider.net.
-
Anssi Kääriäinen yazdı
-
Anssi Kääriäinen yazdı
If LEFT JOINs are required for correct results, then trimming the join can lead to incorrect results. Consider case: TBL A: ID | TBL B: ID A_ID 1 1 1 2 Now A.order_by('b__a') did use a join to B, and B's a_id column. This was seen to contain the same value as A's id, and so the join was trimmed. But this wasn't correct as the join is LEFT JOIN, and for row A.id = 2 the B.a_id column is NULL.
-
Anssi Kääriäinen yazdı
There was an old complaint about nullable one-to-one field cascading even when the o2o field was saved to None value before the deletion. Added an test to verify this doesn't happen. Also some PEP 8 cleanup.
-
Simon Charette yazdı
-
Simon Charette yazdı
-
- 19 Agu, 2013 7 kayıt (commit)
-
-
Simon Charette yazdı
-
Simon Charette yazdı
-
Rainer Koirikivi yazdı
The default delete action resulted in a NoReverseMatch if it were to list any Model with a ModelAdmin with `get_urls` overridden to remove the change url. Catching the error and not displaying the link in that case, as was already done for models with no registered admins. Thanks Keryn Knight for the report.
-
Anssi Kääriäinen yazdı
Caused by commit 7737305a
-
Tim Graham yazdı
-
Anssi Kääriäinen yazdı
The EmptyResultSet wasn't treated correctly so the end results was incorrect, too. The bug had been already fixed in master so only tests added.
-
Anssi Kääriäinen yazdı
There were clauses that weren't needed in the subqueries. These were ORDER BY, SELECT FOR UPDATE and related selections.
-