summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-28Refs #15779 -- Fixed UserChangeForm regression introduced by 1791a7e75Claude Paroz
Thanks Tim Graham for reporting the regression.
2015-03-27Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert
templates.
2015-03-27Fixed #18773 -- Added logging for template variable resolvingCaroline Simpson
Added a django.template logger without a default handler. Added logging if there is an exception while resolving variables in a template.
2015-03-27Dropped support for PostgreSQL 9.0.Tim Graham
2015-03-27Fixed #24519 -- Clarified location of templates directory in tutorial 2.Tim Graham
2015-03-26Fixed #24510 -- Clarified FileField.upload_to docs.Matt Seymour
2015-03-26Fixed #24505 -- Fixed clash with hidden m2m fields.Marco Fucci
Added support for multiple m2m fields with the same 'to' model and with related_name set to '+'.
2015-03-26Rephrased docstrings to assertions and added querystring test.Bas Peschier
2015-03-26Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set.Bas Peschier
This introduces a force_append_slash argument for request.get_full_path() which is used by RedirectFallbackMiddleware and CommonMiddleware when handling redirects for settings.APPEND_SLASH.
2015-03-25Fixed #24531 -- Improved CommaSeparatedIntegerField validation.Bertrand Bordage
`','`, `'1,,1'`, `',1'` etc. are no longer considered as valid comma-separated integer lists.
2015-03-25Added some missing newlines in docs/ref/validators.txt.Tim Graham
2015-03-25Fixed #24394 -- Allowed running tests with empty default dictionary.Andrei Kulakov
2015-03-25Removed untouched branch in StateApps.__init__()Alex Hill
2015-03-25Fixed #24215 -- Refactored lazy model operationsAlex Hill
This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal.
2015-03-25Corrected typo in documentationDavid Seddon
2015-03-25Fixed #24441 -- Changed get_image_dimensions() return value for broken imagesRaúl Cumplido
2015-03-25Fixed #23814 -- Documented apps refactored out of Django.Fabio Natali
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
2015-03-25Renamed ForeignObject.related_field to target_fieldAnssi Kääriäinen
2015-03-25Removed field.field check in setup_joins()Anssi Kääriäinen
2015-03-25Refs #24267 -- Implemented lookups for related fieldsAnssi Kääriäinen
Previously related fields didn't implement get_lookup, instead related fields were treated specially. This commit removed some of the special handling. In particular, related fields return Lookup instances now, too. Other notable changes in this commit is removal of support for annotations in names_to_path().
2015-03-24Refs #18586 -- Split up tests.m2m_through_regressMichael Blatherwick
2015-03-24Fixed #24361 -- Clarified docs on reconfiguring logging.Tim Graham
Thanks Tuttle for the report and draft patch, and Carl Meyer for help and review.
2015-03-24Fixed #24405 -- Made admin related object JavaScript overridableRiccardo Magliocchetti
Consolidated it in one file and move the DOM related stuff to the template so it is easily overridable. To override the popup behavior you need to add handlers for the custom events triggered in the admin_change_form_document_ready template block.
2015-03-24Fixed #24483 -- Prevented keepdb from breaking with generator choices.David Szotten
If Field.choices is provided as an iterator, consume it in __init__ instead of using itertools.tee (which ends up holding everything in memory anyway). Fixes a bug where deconstruct() was consuming the iterator but bypassing the call to `tee`.
2015-03-24Fixed #23666 -- Recommended Git Bash for running unit tests on Windows.Carolina
2015-03-24Fixed #24501 -- Improved auth.decorators.user_passes_test() example.Matt Seymour
2015-03-24Removed getLogger alias in django.utils.log.Tim Graham
2015-03-24Removed the null handler in Django's default logging config.Tim Graham
It's unused since f0f327bb.
2015-03-23Fixed #12400 -- Allowed geometry fields in unique_togetherClaude Paroz
Thanks Tim Graham for the review.
2015-03-23Fixed #24440 -- Added padding to debug view stacktrace lines.andy matthews
2015-03-23Fixed #24521 -- Added support for serializing frozensets in migrations.Baptiste Mispelon
2015-03-23Fixed #23697 -- Improved ForeignObject.get_lookup_constraint() error message.Michael Blatherwick
2015-03-23Removed redundant model instantiation in contrib.admin; refs #11390.TomV
2015-03-23Fixed #16362 -- Allowed lookaround assertions in URL patterns.Bas Peschier
2015-03-23Added test for LogEntry.get_edited_object(); refs #24244.Varun Sharma
2015-03-23Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.Bas Peschier
When reversing, only outer parameters are used if captured parameters are nested. Added tests to check the edge cases and documentation for the behavior with an example to avoid it.
2015-03-22Switched to use assertEqual instead of assertEquals.Berker Peksag
2015-03-22Fixed #23814 -- Pointed localflavor documentation to external packageIacopo Spalletti
Edited localflavor doc to point to the external package documentation, leaving just the 'How to migrate' section in Django.
2015-03-22Refs #18586 -- Split up tests/m2m_signalsAlain IVARS
2015-03-22Fixed #24485 -- Allowed combined expressions to set output_fieldJosh Smeaton
2015-03-22Fixed #24508 -- Made annotations commutativeJosh Smeaton
2015-03-21Revert "Removed unneeded app_label definitions in gis_tests"Claude Paroz
This reverts commit e0cc36f615f70061e034f5ba3f4e75330f51d3ca. The problem is the following: * With non-gis backends, gis_tests sub apps are not discovered (see runtests.py) * Consequently, the app_label is inferred from the gis_tests AppConfig * Then models with same names in different sub apps conflict because of same model_name/app_label pair.
2015-03-21Removed unneeded app_label definitions in gis_testsClaude Paroz
2015-03-21Fixed #24500 -- Fixed makemessages encoding problems retrieving gettext version.Pakal
2015-03-21Fixed #24479 -- Added system check to prevent both ordering and order_wrt.Jon Dufresne
2015-03-21Removed double pop from meta_attrs.Jon Dufresne
2015-03-21Added Alex Hill to AUTHORS.Aymeric Augustin
2015-03-21Explicitly disable FK constraints in SQLite editorAlex Hill
2015-03-21Safer table alterations under SQLiteAlex Hill
Table alterations in SQLite require creating a new table and copying data over from the old one. This change ensures that no Django model ever exists with the temporary table name as its db_table attribute.