| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-11-28 | Fixed a deprecation warning introduced by 96dd48c83f. | Simon Charette | |
| 2013-11-28 | Merge pull request #2005 from loic/ticket21169 | Anssi Kääriäinen | |
| Use 'update_fields' in RelatedManager.clear() when bulk=False. | |||
| 2013-11-29 | Use 'update_fields' in RelatedManager.clear() when bulk=False. | Loic Bistuer | |
| Thanks Simon Charette for the suggestion. Refs #21169. | |||
| 2013-11-28 | Fixed #21496 -- Fixed crash when GeometryField uses TextInput | Claude Paroz | |
| Thanks Rhett Garber for the report and initial patch. | |||
| 2013-11-28 | All the E125 errors hvae been eradicated. | Alex Gaynor | |
| 2013-11-28 | Fixed E125 pep8 warnings | Christopher Medrela | |
| 2013-11-28 | Fixed #21517 -- Added unit test for non-autoincrement primary key with value 0. | Vajrasky Kok | |
| 2013-11-28 | Fixed #21515 -- Corrected example of template.Context in documentation. | Baptiste Mispelon | |
| Thanks to trac user oubiga for the report. | |||
| 2013-11-27 | A handle of flake8 fixes | Alex Gaynor | |
| 2013-11-27 | Added a warning regarding risks in serving user uploaded media. | Tim Graham | |
| Thanks Preston Holmes for the draft text. | |||
| 2013-11-27 | Merge pull request #2000 from loic/docs | Anssi Kääriäinen | |
| Fixed typo in release notes. | |||
| 2013-11-28 | Fixed typo in release notes. | Loic Bistuer | |
| 2013-11-27 | PEP-8 cleanup | Anssi Kääriäinen | |
| Refs #21169 | |||
| 2013-11-27 | Added a bulk option to RelatedManager remove() and clear() methods | Loic Bistuer | |
| Refs #21169 | |||
| 2013-11-27 | Used simpler queries for m2m clearing when possible. | Anssi Kääriäinen | |
| Refs #21169 | |||
| 2013-11-27 | Fixed #21169 -- Reworked RelatedManager methods use default filtering | Loic Bistuer | |
| The `remove()` and `clear()` methods of the related managers created by `ForeignKey`, `GenericForeignKey`, and `ManyToManyField` suffered from a number of issues. Some operations ran multiple data modifying queries without wrapping them in a transaction, and some operations didn't respect default filtering when it was present (i.e. when the default manager on the related model implemented a custom `get_queryset()`). Fixing the issues introduced some backward incompatible changes: - The implementation of `remove()` for `ForeignKey` related managers changed from a series of `Model.save()` calls to a single `QuerySet.update()` call. The change means that `pre_save` and `post_save` signals aren't called anymore. - The `remove()` and `clear()` methods for `GenericForeignKey` related managers now perform bulk delete so `Model.delete()` isn't called anymore. - The `remove()` and `clear()` methods for `ManyToManyField` related managers perform nested queries when filtering is involved, which may or may not be an issue depending on the database and the data itself. Refs. #3871, #21174. Thanks Anssi Kääriäinen and Tim Graham for the reviews. | |||
| 2013-11-27 | Update tutorial part 1 to discuss migrations properly | Andrew Godwin | |
| 2013-11-27 | Include deferred SQL in sqlmigrate output | Andrew Godwin | |
| 2013-11-27 | Fixed #21438: makemigrations now detects ManyToManyFields | Andrew Godwin | |
| 2013-11-27 | Field.deconstruct() howto docs | Andrew Godwin | |
| 2013-11-27 | PostGIS schema editor support | Andrew Godwin | |
| 2013-11-27 | Add gis deconstruct() method (this does not make schema work) | Andrew Godwin | |
| 2013-11-27 | Change initial migration writing to work as docs suggest. | Andrew Godwin | |
| Application template now includes an empty migrations module, and the autodetector will only make initial migrations for apps with empty modules. | |||
| 2013-11-27 | Fix squashed migration loading ordering issue | Andrew Godwin | |
| 2013-11-26 | Merge pull request #1985 from raphaa/21499 | Andrew Godwin | |
| Fixed #21499 -- Migrations won't work if field signature changes | |||
| 2013-11-26 | Replace use of dict.has_key with `key in dict` | Alex Gaynor | |
| 2013-11-26 | Fixed a typo in the documentation | Alex Gaynor | |
| 2013-11-26 | Fixed #21448 -- Fixed test client logout with cookie-based sessions | Claude Paroz | |
| Thanks Gunnar Scherf for the report and the suggested patch. | |||
| 2013-11-26 | Fixed #21355 -- try importing _imaging from PIL namespace first. | Richard Xia | |
| 2013-11-26 | Use str.isupper() to test if a string is uppercased. | Baptiste Mispelon | |
| 2013-11-26 | Fixed #21512 -- Added more complete information about Pillow and PIL in ↵ | Vajrasky Kok | |
| model_fields and model_forms tests. | |||
| 2013-11-25 | Fixed #20522 - Allowed use of partially validated object in ↵ | Jay Leadbetter | |
| ModelAdmin.add_view formset validation. Updated ModelAdmin to use form.instance when passing parent model to child inlines for add_view. There is effectively no change in the change_view since the previously passed 'obj' is the same as form.instance. Thanks to meshy for report, and EvilDMP and timo for review. | |||
| 2013-11-25 | Fixed #21489 -- Make formsets directly importable from django.forms. | Loic Bistuer | |
| 2013-11-25 | Fixed #21509 -- Removed dead exception catching code. | Krzysztof Jurewicz | |
| Since Python 2.5, KeyboardInterrupt and SystemExit are not subclasses of Exception, so explicitly reraising them before the “except Exception” clause is not necessary anymore. | |||
| 2013-11-25 | flake8 fix | Alex Gaynor | |
| 2013-11-25 | Fixed #21403: Corrected test code | Shai Berger | |
| A test for annotations incorrectly assumed that the first instance (in the test) of a model using AutoField for PK will always get pk=1. The test was changed to compare against actual instance id instead. | |||
| 2013-11-25 | Fixed #21507 -- Corrected default widget information for FileField | Ludwik Trammer | |
| 2013-11-25 | Fixed test failure on Oracle | Shai Berger | |
| Failure was introduced with test in [19e5cd77f0536b778b00788e34d8199835143855] | |||
| 2013-11-24 | flake8 fixes | Alex Gaynor | |
| 2013-11-24 | Fixed some unnescesarily gendered language in the docs | Alex Gaynor | |
| 2013-11-24 | Fixed #21391 -- Allow model signals to lazily reference their senders. | Simon Charette | |
| 2013-11-24 | Fixed typo in previous commit; refs #21490. | Tim Graham | |
| 2013-11-24 | Fixed #21490 -- Fixed custom admin URL reverse example. | Tim Graham | |
| Thanks glarrain for the report. | |||
| 2013-11-24 | Removed confusing comments from the docs. | Loic Bistuer | |
| The settings reference documentation doesn't seem the right place to invite users to write their own db and cache backends. Also the actual wording makes the task sound trivial, which is hardly the case; writing a custom db backend is a very difficult task, and writing a custom cache backend is full of gotcha. | |||
| 2013-11-24 | Fixed #21497 -- Forced conversion to bytes for very long index names | Joel Bohman | |
| 2013-11-24 | Added more tests for ContentTypeManager.get_for_model. | Antonis Christofides | |
| 2013-11-24 | Fixed #21500 -- Removed imports of deprecated utils.importlib | Baptiste Mispelon | |
| 2013-11-24 | Properly closed cache connections at the end of the request. | Florian Apolloner | |
| This only affects the new cache api and not the deprecated get_cache. Refs #21012 | |||
| 2013-11-24 | Fixed flake8 error (5 space identation!!!) | Alex Gaynor | |
| 2013-11-24 | Fixed #21499 -- Added a paragraph to the docs. | Raphael Jasjukaitis | |
