- 20 Mar, 2009 8 kayıt (commit)
-
-
Justin Bronn yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Justin Bronn yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
Thanks, Boo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
The tests and testing framework should use failUnless() instead. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
Calling the super() version of __reduce__ in Model.__reduce__ led to infinite loops in Python prior to 2.5. We don't do that any longer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
I'm crawling into my hole now. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
Previously on "things we changed in the recent past".... the database connection setup was changed. People were happy. Except for those running on Python 2.3. We had completely broken Django on Python 2.3. Turns out, this is due to a long-standing bug in the _threading_local module that interacts with object creation in 2.3. Interestingly, although the bug remains in Python 2.4 and 2.5, they don't trip over it for reasons I don't entirely understand at the moment. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 19 Mar, 2009 7 kayıt (commit)
-
-
Luke Plant yazdı
(adding CSRF, removing XView which is no longer a default) git-svn-id: http://code.djangoproject.com/svn/django/trunk@10095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Luke Plant yazdı
Updated docs to reflect the change, and the fact that using the two separate middleware is preferred to using the combined one. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
In extreme cases, some fields are expensive to load from the database (e.g. GIS fields requiring conversion, or large text fields). This commit adds defer() and only() methods to querysets that allow the caller to specify which fields should not be loaded unless they are accessed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
These features look similar, but they're not identical. They can't be merged into one (without requiring at least two Meta parameters anyway), so we've made them have APIs that match their natural use-cases most easily. Anyway, the documentation explains both the details and gives some simple to follow rules. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 18 Mar, 2009 7 kayıt (commit)
-
-
Jacob Kaplan-Moss yazdı
Fixed #8193: all dynamic imports in Django are now done correctly. I know this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett! git-svn-id: http://code.djangoproject.com/svn/django/trunk@10088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Russell Keith-Magee yazdı
Fixed #10482 -- Unified access to response.context when inspecting responses from the test client. Thanks to James Bennett for the design, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
Large portions of this are needed for #5420, so I implemented it fully. Thanks to Ryan Kelly for an initial patch to get this started. Refs #5420. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Jarek Zgoda yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
Looks like we have to use the same format specifiers in both singular and plural forms of a message or the PO file cannot be compiled to MO format. This commit changes one place in admin that was using different specifiers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Jacob Kaplan-Moss yazdı
Fixed #10530, #10527: added a couple more validation errors around `list_editable`. Thanks, Florian Apolloner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
This adds a case that was missed in r9924: underscore handling. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 17 Mar, 2009 5 kayıt (commit)
-
-
Jacob Kaplan-Moss yazdı
Fixed #8939: added a `list_editable` option to `ModelAdmin`; fields declared `list_editable` may be edited, in bulk, on the changelist page. Thanks, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Jacob Kaplan-Moss yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Jacob Kaplan-Moss yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Russell Keith-Magee yazdı
Fixed #10517 -- Corrected cache name for file-based cache tests so that the filename can be valid under Windows. Thanks to Bob Thomas for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Russell Keith-Magee yazdı
Fixed #10512 -- Corrected the handling of extra fields on a ModelForm. Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 16 Mar, 2009 1 kayıt (commit)
-
-
Malcolm Tredinnick yazdı
Affects the postgresql_psycopg2 backend only. We now don't use the "RETURNING" syntax in SQL INSERT statements unless it's required by the autocommit behaviour. This fixes an edge-case that could cause crashes with earlier PostgreSQL versions, but the broader problem remains to be fixed (which is #10509). Fixed #10467. Refs #10509. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 15 Mar, 2009 6 kayıt (commit)
-
-
Russell Keith-Magee yazdı
Fixed #10507 -- Corrected formatting problem in ModelForm docs. Thanks to Paul Menzel for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Gary Wilson Jr yazdı
Fixed #689 -- Added a middleware and authentication backend to contrib.auth for supporting external authentication solutions. Thanks to all who contributed to this patch, including Ian Holsman, garthk, Koen Biermans, Marc Fargas, ekarulf, and Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Russell Keith-Magee yazdı
Fixed #8164 -- Fields on a ModelForm are now ordered in the order specified in the fields attribute of the ModelForm's Meta class. Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
This seems to have been a source of confusion, so now we have some explicit examples. Fixed #9676. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
This is for Manager subclasses that are default managers, but only sometimes. The general rule is: "don't use it." If you really need it, read the instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Malcolm Tredinnick yazdı
We can't use the default manager in Model.save_base(), since we need to retrieve existing objects which might be filtered out by that manager. We now always use a plain Manager instance at that point (or something that can replace it, such as a GeoManager), making all existing rows in the database visible to the saving code. The logic for detecting a "suitable replacement" plain base is the same as for related fields: if the use_for_related_fields is set on the manager subclass, we can use it. The general requirement here is that we want a base class that returns the appropriate QuerySet subclass, but does not restrict the rows returned. Fixed #8990, #9527. Refs #2698 (which is not fixed by this change, but it's the first part of a larger change to fix that bug.) git-svn-id: http://code.djangoproject.com/svn/django/trunk@10056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 14 Mar, 2009 3 kayıt (commit)
-
-
Adrian Holovaty yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Russell Keith-Magee yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Russell Keith-Magee yazdı
Fixed #10425 -- Corrected the interaction of .count() with .annotate() when .values() is also involved. Thanks to kmassey for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
- 13 Mar, 2009 3 kayıt (commit)
-
-
Ian Kelly yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Ian Kelly yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-
Ian Kelly yazdı
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-