- 30 Kas, 2013 8 kayıt (commit)
-
-
Tim Graham yazdı
Thanks jared_mess for the report.
-
Unai Zalakain yazdı
-
Claude Paroz yazdı
Thanks svartalf for the report.
-
Tim Graham yazdı
-
Alex Gaynor yazdı
-
Alex Hill yazdı
-
Claude Paroz yazdı
Faulty line was introduced in 50a8ab7c.
-
Claude Paroz yazdı
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and Tim Graham for the reviews. Also fixes #16084.
-
- 29 Kas, 2013 5 kayıt (commit)
-
-
Alex Gaynor yazdı
-
Loic Bistuer yazdı
-
Loic Bistuer yazdı
Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
-
Vajrasky Kok yazdı
Previously when collecting static files, the directories would receive permissions from the global umask. Now the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS and there's an option to specify the permissions by subclassing any of the static files storage classes and setting the directory_permissions_mode parameter.
-
Simon Charette yazdı
-
- 28 Kas, 2013 6 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
Use 'update_fields' in RelatedManager.clear() when bulk=False.
-
Loic Bistuer yazdı
Thanks Simon Charette for the suggestion. Refs #21169.
-
Claude Paroz yazdı
Thanks Rhett Garber for the report and initial patch.
-
Alex Gaynor yazdı
-
Christopher Medrela yazdı
-
Vajrasky Kok yazdı
-
- 27 Kas, 2013 17 kayıt (commit)
-
-
Baptiste Mispelon yazdı
Thanks to trac user oubiga for the report.
-
Alex Gaynor yazdı
-
Tim Graham yazdı
Thanks Preston Holmes for the draft text.
-
Anssi Kääriäinen yazdı
Fixed typo in release notes.
-
Loic Bistuer yazdı
-
Anssi Kääriäinen yazdı
Refs #21169
-
Loic Bistuer yazdı
Refs #21169
-
Anssi Kääriäinen yazdı
Refs #21169
-
Loic Bistuer yazdı
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.
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
Application template now includes an empty migrations module, and the autodetector will only make initial migrations for apps with empty modules.
-
Andrew Godwin yazdı
-
- 26 Kas, 2013 4 kayıt (commit)
-
-
Andrew Godwin yazdı
Fixed #21499 -- Migrations won't work if field signature changes
-
Alex Gaynor yazdı
-
Alex Gaynor yazdı
-
Claude Paroz yazdı
Thanks Gunnar Scherf for the report and the suggested patch.
-