summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-12-06Made the migration detector use meta.local_fields instead of meta.fields.Baptiste Mispelon
Refs #21010. Thanks to Loïc for the patch.
2013-12-06Fixed ModelState breaking when unique_together has unhashable elements.Baptiste Mispelon
2013-12-06Fixed error in ManyToManyField.deconstruct().Baptiste Mispelon
2013-12-06Added app_label to the error message when field reconstructing fails.Baptiste Mispelon
2013-12-06Merge pull request #2037 from bmispelon/invalidbaseserrorAndrew Godwin
Fixed TypeError when rendering ModelState with multiple bases.
2013-12-06Fixed #19678 -- GeoDjango test failure with spatialite >= 3.0.Ramiro Morales
Thanks Julien for the report and Claude for the fix.
2013-12-06Renamed syncdb to migrate in spatialite backendClaude Paroz
2013-12-06Removed unreachable `else` in `try` block.maurycyp
2013-12-06Fixed TypeError when rendering ModelState with multiple bases.Baptiste Mispelon
2013-12-05Corrected setting name in gis test error message.Ramiro Morales
2013-12-05Better error reporting when from_app_cache failsAndrew Godwin
2013-12-05Fix poor variable name (flake8 warning)Andrew Godwin
2013-12-05Removed 'return' in __init__maurycyp
2013-12-04Migration VCS conflict detection and --merge for makemigrationsAndrew Godwin
2013-12-04Don't make a second migration if there was a force-null-default addcol.Andrew Godwin
2013-12-04Add clone() method to Field to get clean copies of it.Andrew Godwin
2013-12-04Add --dry-run option to makemigrationsAndrew Godwin
2013-12-04Migrate prompts if you need makemigrations, runserver prompts for migrateAndrew Godwin
2013-12-04Fixed 21406 -- Made blocktrans 'trimmed' option preserve line numbers.Bouke Haarsma
Thanks Bouke Haarsma for report, fix and initial patch.
2013-12-04Fixed #21546 -- Strengthened kqueue detection.Aymeric Augustin
Thanks Loic Bistuer.
2013-12-02Fixed #13476 -- Added support for color in console output under Windows.Ramiro Morales
Detect and use the services of the ANSICON third-party tool if it's available.
2013-12-03Fixed #21545 -- autoreload kqueue events weren't cleared which caused an ↵Loic Bistuer
infinite loop.
2013-12-01Fixed #21543 -- Removed base_dir attribute in StaticFilesHandler.Krzysztof Jurewicz
This code seems to be an artifact of AdminMediaHandler removed in [5c53e30607].
2013-11-30Fixed #21535 -- Fixed password hash iteration upgrade.Tim Graham
Thanks jared_mess for the report.
2013-11-30Fixed #21358 -- Allowed runserver on non-English localesClaude Paroz
Thanks svartalf for the report.
2013-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
2013-11-30Fixed comment typos.Alex Hill
2013-11-30Closed file after reading pot fileClaude Paroz
Faulty line was introduced in 50a8ab7cd1.
2013-11-30Enabled makemessages to support several translation directoriesClaude Paroz
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and Tim Graham for the reviews. Also fixes #16084.
2013-11-29Fixed an unescisarily gendered pronoun in a docstringAlex Gaynor
2013-11-30Fixed #20867 -- Added the Form.add_error() method.Loic Bistuer
Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
2013-11-29Fixed #21380 -- Added a way to set different permission for static directories.Vajrasky Kok
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.
2013-11-28Fixed a deprecation warning introduced by 96dd48c83f.Simon Charette
2013-11-29Use 'update_fields' in RelatedManager.clear() when bulk=False.Loic Bistuer
Thanks Simon Charette for the suggestion. Refs #21169.
2013-11-28Fixed #21496 -- Fixed crash when GeometryField uses TextInputClaude Paroz
Thanks Rhett Garber for the report and initial patch.
2013-11-28Fixed E125 pep8 warningsChristopher Medrela
2013-11-27A handle of flake8 fixesAlex Gaynor
2013-11-27Added a bulk option to RelatedManager remove() and clear() methodsLoic Bistuer
Refs #21169
2013-11-27Used simpler queries for m2m clearing when possible.Anssi Kääriäinen
Refs #21169
2013-11-27Fixed #21169 -- Reworked RelatedManager methods use default filteringLoic 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-27Include deferred SQL in sqlmigrate outputAndrew Godwin
2013-11-27Fixed #21438: makemigrations now detects ManyToManyFieldsAndrew Godwin
2013-11-27PostGIS schema editor supportAndrew Godwin
2013-11-27Add gis deconstruct() method (this does not make schema work)Andrew Godwin
2013-11-27Change 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-27Fix squashed migration loading ordering issueAndrew Godwin
2013-11-26Fixed #21448 -- Fixed test client logout with cookie-based sessionsClaude Paroz
Thanks Gunnar Scherf for the report and the suggested patch.
2013-11-26Fixed #21355 -- try importing _imaging from PIL namespace first.Richard Xia
2013-11-26Use str.isupper() to test if a string is uppercased.Baptiste Mispelon
2013-11-25Fixed #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.