| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-03-25 | Fixed #24215 -- Refactored lazy model operations | Alex 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-25 | Fixed #24441 -- Changed get_image_dimensions() return value for broken images | Raúl Cumplido | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi 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-25 | Refs #24267 -- Implemented lookups for related fields | Anssi 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-24 | Refs #18586 -- Split up tests.m2m_through_regress | Michael Blatherwick | |
| 2015-03-24 | Fixed #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-24 | Removed getLogger alias in django.utils.log. | Tim Graham | |
| 2015-03-23 | Fixed #12400 -- Allowed geometry fields in unique_together | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2015-03-23 | Fixed #24521 -- Added support for serializing frozensets in migrations. | Baptiste Mispelon | |
| 2015-03-23 | Fixed #23697 -- Improved ForeignObject.get_lookup_constraint() error message. | Michael Blatherwick | |
| 2015-03-23 | Fixed #16362 -- Allowed lookaround assertions in URL patterns. | Bas Peschier | |
| 2015-03-23 | Added test for LogEntry.get_edited_object(); refs #24244. | Varun Sharma | |
| 2015-03-23 | Fixed #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-22 | Switched to use assertEqual instead of assertEquals. | Berker Peksag | |
| 2015-03-22 | Refs #18586 -- Split up tests/m2m_signals | Alain IVARS | |
| 2015-03-22 | Fixed #24485 -- Allowed combined expressions to set output_field | Josh Smeaton | |
| 2015-03-22 | Fixed #24508 -- Made annotations commutative | Josh Smeaton | |
| 2015-03-21 | Revert "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-21 | Removed unneeded app_label definitions in gis_tests | Claude Paroz | |
| 2015-03-21 | Fixed #24479 -- Added system check to prevent both ordering and order_wrt. | Jon Dufresne | |
| 2015-03-21 | Fixed #24515 -- Fixed DjangoTranslation plural handling | Claude Paroz | |
| 2015-03-20 | Fixed #24490 -- Set LogEntry.change_message when adding an object. | Karl Hobley | |
| 2015-03-20 | Removed unused imports. | Tim Graham | |
| 2015-03-20 | Fixed #22106 -- Allowed using more than one instance of javascript_catalog ↵ | Moritz Sichert | |
| per project. | |||
| 2015-03-20 | Adapted sendtestemail to be more argparse-ish | Claude Paroz | |
| 2015-03-20 | Fixed gis test failures when numpy isn't installed. | Daniel Wiesmann | |
| Thanks to Bas Peschier for pointing this out. Refs #23804. | |||
| 2015-03-20 | Removed unused import. | Tim Graham | |
| 2015-03-20 | Used testing domain names in mail tests per rfc2606. | Tim Graham | |
| 2015-03-20 | Fixed #24419 -- Added sendtestemail management command | Loek van Gent | |
| 2015-03-20 | Cleaned up the template debug implementation. | Preston Timmons | |
| This patch does three major things: * Merges the django.template.debug implementation into django.template.base. * Simplifies the debug implementation. The old implementation copied debug information to every token and node. The django_template_source attribute was set in multiple places, some quite hacky, like django.template.defaulttags.ForNode. Debug information is now annotated in two high-level places: * Template.compile_nodelist for errors during parsing * Node.render_annotated for errors during rendering These were chosen because they have access to the template and context as well as to all exceptions that happen during either the parse or render phase. * Moves the contextual line traceback information creation from django.views.debug into django.template.base.Template. The debug views now only deal with the presentation of the debug information. | |||
| 2015-03-20 | Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag | Yair Chuchem | |
| 2015-03-19 | Fixed #24417 -- Added ModelAdmin.get_list_select_related() | Loek van Gent | |
| 2015-03-18 | Made is_safe_url() reject URLs that start with control characters. | Tim Graham | |
| This is a security fix; disclosure to follow shortly. | |||
| 2015-03-18 | Fixed an infinite loop possibility in strip_tags(). | Tim Graham | |
| This is a security fix; disclosure to follow shortly. | |||
| 2015-03-18 | Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. | Karl Hobley | |
| 2015-03-18 | Fixed #23757 -- Added 3D introspection support to Spatialite backend | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2015-03-18 | Refs #24483 -- Added a test for deconstruction of Field.choices | Tim Graham | |
| 2015-03-18 | Fixed #23960 -- Removed http.fix_location_header | Claude Paroz | |
| Thanks Carl Meyer for the report and Tim Graham for the review. | |||
| 2015-03-18 | Fixed #24476 -- Added context manager/decorator for overriding script prefix. | Bas Peschier | |
| Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager. | |||
| 2015-03-18 | Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django ↵ | Moritz Sichert | |
| templates. | |||
| 2015-03-17 | Refs #24485 -- Renamed some expression types | Josh Smeaton | |
| 2015-03-17 | Fixed #24486 -- Fixed error with datetime and DurationField arithmetic | Josh Smeaton | |
| 2015-03-17 | Fixed #15579 -- Added ability to delete only child models in multi-table ↵ | Andriy Sokolovskiy | |
| inheritance. | |||
| 2015-03-17 | Made SRID a required parameter for GDALRaster instantiation; refs #23804. | Daniel Wiesmann | |
| Earlier versions of GDAL do not allow the srid to be set to 0, so it should be a required parameter to ensure compatibility. | |||
| 2015-03-16 | Added write support for GDALRaster | Daniel Wiesmann | |
| - Instantiation of GDALRaster instances from dict or json data. - Retrieve and write pixel values in GDALBand objects. - Support for the GDALFlushCache in gdal C prototypes - Added private flush method to GDALRaster to make sure all data is written to files when file-based rasters are changed. - Replaced ``ptr`` with ``_ptr`` for internal ptr variable Refs #23804. Thanks Claude Paroz and Tim Graham for the reviews. | |||
| 2015-03-16 | Fixed #24427 -- Stopped writing migration files in dry run mode when merging. | John Giannelos | |
| Also added display of migration to stdout when verbosity=3. | |||
| 2015-03-16 | Fixed #24488 -- Made create_default_site() use default pk of 1. | Marten Kenbeek | |
| Fixed create_default_site() to use a default value in case settings.SITE_ID isn't set; refs #23945. | |||
| 2015-03-16 | Fixed #24493 -- Added BaseContext.setdefault() | Preston Timmons | |
| 2015-03-16 | Fixed #23926 -- Improved validation error for custom permissions that are ↵ | Joeri Bekker | |
| too long. | |||
| 2015-03-16 | Fixed #5986 -- Added ability to customize order of Form fields | Thomas Tanner | |
