summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-23Fixed #23702 -- Fixed adding an explicit id field on SQLite.Tim Graham
Thanks gavinwahl for the report.
2014-10-23Fixed #23444 -- Deprecated ↵a1tus
django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
2014-10-23Added missing available app in migrations test caseClaude Paroz
In some test combinations, having contrib.auth available but not contrib.contenttypes can produce failures while creating permissions.
2014-10-23Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.Tim Graham
Thanks Keryn Knight for the report.
2014-10-23Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.Tim Graham
Thanks Naddiseo for the report, Andrew Godwin for guidance, and Shai Berger for review.
2014-10-23Fixed versionchanged indentation in unit-tests.txt.Berker Peksag
2014-10-23Made a doctest compatible with Python 2Claude Paroz
That test might not always execute, but can be executed when the parent test label is explicitely given.
2014-10-22Fixed flake8 warning.Tim Graham
2014-10-22Allowed test from refs #23612 to be run from a directory other than tests.Tim Graham
2014-10-23Improved warning message when reloading models. Refs #23621.Loic Bistuer
Thanks dfunckt and Tim Graham.
2014-10-23Fixed #23621 -- Warn for duplicate models when a module is reloaded.Loic Bistuer
Previously a RuntimeError was raised every time two models clashed in the app registry. This prevented reloading a module in a REPL; while it's not recommended to do so, we decided not to forbid this use-case by turning the error into a warning. Thanks @dfunckt and Sergey Pashinin for the initial patches.
2014-10-22Added stub release notes for 1.7.2.Tim Graham
2014-10-22Fixed #23701 -- Removed an unneeded check in collectstatic.Tim Graham
Thanks prathik for the report.
2014-10-22Added release dates to release notes.Tim Graham
2014-10-22Refactored color_style() and no_style() to improve testability. Refs #23663.Loic Bistuer
This includes the following improvements: - The type of the style object is now called 'Style' rather than 'dummy'. - The new make_style() function allows generating a Style object directly from a config string. Before the only way to get a style object was through the environ and it also required that the terminal supported colors which isn't necessarily the case when testing. - The output of no_style() is now cached with @lru_cache. - The output of no_style() now has the same set of attributes as the other Style objects. Previously it allowed anything to pass through with __getattr__.
2014-10-22Fixed #23686 -- Tweak color output of the system check framework.Loic Bistuer
Thanks Tim Graham for the review.
2014-10-21Removed unused import from the JSON serialization example.Berker Peksag
This is a leftover from 5612f54bd56086e2a375e86474ec734c172e7d1f.
2014-10-22Made testing of stdout and stderr more consistent.Loic Bistuer
Refs #23663.
2014-10-22Fixed #23663 -- Initialize output streams for BaseCommand in __init__().Loic Bistuer
This helps with testability of management commands. Thanks to trac username daveoncode for the report and to Tim Graham and Claude Paroz for the reviews.
2014-10-21Fixed #23653 -- Fixed Windows failure of a logging test added in refs #23569.Tim Graham
2014-10-21Removed unneeded override_system_checksClaude Paroz
Refs #23685.
2014-10-21Fixed #23583 -- More selectively ignored static/media rootsClaude Paroz
Fixed a regression introduced by 28efafa24c. Thanks Michal Čihař for the report and initial patch, and Collin Anderson and Tim Graham for the reviews.
2014-10-22Fixed #23107 -- Made runserver output respect --no-color.Loic Bistuer
This commit reverts 67d7da5fb9498b811f0168f5df2308ad4743027f. The previous fix changed the environment globally, which meant that any call to `call_command(no_color=True)` prevented further `call_command` with color. This fix still relies on the environment because it's currently the only way to reach WSGIRequestHandler, but it's now limited to the `runserver` command. This seems an acceptable compromise considering `runserver` runs indefinitely. Thanks Tim Graham for the review.
2014-10-21Fixed #23695 -- Made condition decorator work for HEAD requests without ETag.Anton Novosyolov
2014-10-21Fixed #23396 -- Ensured ValueQuerySets are not checked by check_related_objects.Gabe Jackson
2014-10-21Fixed firstof docs error introduced in 1ea44a; refs #17906.Ralph Broenink
2014-10-21Fixed #21740 -- Allowed test client data to be an empty stringClaude Paroz
This fixes a regression introduced by 2a31d00933. Thanks tony-zhu for the report.
2014-10-20Fix SettingsCustomLoggingTest on Windows when path contains \uMichael Manfre
2014-10-20Fixed #23688 -- Updated cached_property to preserve docstring of original ↵John-Scott Atlakson
function
2014-10-20Fixed #20221 -- Allowed some functions that use mark_safe() to result in ↵Jon Dufresne
SafeText. Thanks Baptiste Mispelon for the report.
2014-10-20Fixed #23679 -- Fixed null introspection for char/text fieldsClaude Paroz
Thanks Paul Dejean for the report.
2014-10-20Clarify that HTTP Accept-Language header is case-insensitive.Carl Meyer
2014-10-20Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.Tianyi Wang
Thanks Naddiseo for reporting.
2014-10-20Fixed #23668 -- Changed make_aware() and make_naive() to use the current ↵Jon Dufresne
timezone by default Thanks Aymeric Augustin for review.
2014-10-20Fixed #23692 -- Removed alpha/beta/rc release notes.Tim Graham
2014-10-20Removed redundant skip_checks option for call_commandClaude Paroz
2014-10-20Revert "Fixed #23650 -- Prevented migrate from calling checks 3 times"Claude Paroz
This reverts commit 8d6e1afe0be0570253a508f43e2ef89ae640984e. call_command now always set skip_checks to True (tested in user_commands).
2014-10-20Fixed #23685 -- Made call_command skip checks by defaultClaude Paroz
Thanks Loic Bistuer for the report/review and Tim Graham for the review.
2014-10-20Fixed #20609 -- Added instructions for using AnonymousUser with RequestFactory.Tim Graham
2014-10-20Moved a test case that caused deprecation warnings.Loic Bistuer
`cache.tests.TestEtagWithAdmin` loaded views from the `admin_views` test package. This is problematic because when the `cache` test package is run in isolation, `admin_views` isn't in INSTALLED_APPS, and therefore loading its models isn't allowed since the app loading refactor.
2014-10-19Made the ping_google command override BaseCommand.handle() rather than ↵Loic Bistuer
execute(). Overriding execute() bypasses the system check framework among other things.
2014-10-19Renamed skip_validation into skip_checks as the former is now deprecated.Loic Bistuer
2014-10-19Prevented syncdb from calling system checks multiple times. Refs #23650.Loic Bistuer
2014-10-19Merge pull request #3390 from wrwrwr/fix/urlencode-ref-typoLoic Bistuer
Fixed a typo in urlencode documentation.
2014-10-19Fixed a typo in urlencode documentation.wrwrwr
2014-10-19Fixed #23684 -- Used correct package name for Pillow in Error hint.Nicholas Serra
2014-10-19Fixed #21196 -- Removed index on test field causing MySQL specific warning.Thomas Chaumeny
2014-10-18Fixed #23676 -- Rearranged sentence; "by default" applies only to max lengthJon Dufresne
2014-10-17Fixed #23650 -- Prevented migrate from calling checks 3 timesClaude Paroz
Thanks Ilya Baryshev for the report and Tim Graham for the review.
2014-10-17Fixed #23469 -- Removed test runner compatibility check which often yielded ↵Tim Graham
false positives.