summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-28Revert "Fixed #24369 -- Prevented crash when `flush`ing before db migration"Claude Paroz
This reverts commit 9f1dbe29c0dbae57ff7950f3f64a0d083177cca8. The proposed solution does not pass the test suite.
2015-02-28Fixed #24369 -- Prevented crash when `flush`ing before db migrationClaude Paroz
Thanks Thomas Tanner for the report.
2015-02-28Fixed #24413 -- Prevented translation fallback for EnglishClaude Paroz
Thanks Tomasz Kontusz for the report, Baptiste Mispelon for analysis and Tim Graham for the review.
2015-02-27Improved wording in tutorial 1.Alex Shaindlin
2015-02-27Fixed #24418 -- Prevented crash in refresh_from_db with null fkClaude Paroz
Thanks Johannes Lerch for the report, Tim Graham for the test case, and Simon Charette for the review.
2015-02-27Fixed #24359 -- Cleaned up docs/ref/exceptions.htmlTim Graham
2015-02-27Removed binary input test lineClaude Paroz
That line was inconveniently introduced by the committer (me) in 3b966c2b73. Sorry!
2015-02-27Fixed #24229 -- Changed IntegerField to clean floats representing integersJon Dufresne
2015-02-26Fixed #24406 -- Improved SelectFilter js to use click eventsRolf Jagerman
The SelectFilter widget used href to execute javascript. This was problematic if one wishes to customize the widget, since the href javascript is executed after events are handled. This change modifies the javascript to use click events to handle button behavior.
2015-02-25Added stub release notes for 1.7.6.Tim Graham
2015-02-25Added release date for 1.7.5 release.Tim Graham
2015-02-25Updated trove classifier to Pre-Alpha.Tim Graham
2015-02-25Fixed #24411 -- Avoided dict key/method clash in admin delete views.Tim Graham
2015-02-24Fixed #24391 -- Made BoundField.value() cache callable values.Michael Angeletti
2015-02-24Reverted "Fixed #24325 -- Documented change in ModelForm.save() foreign key ↵Tim Graham
access." This reverts commit 0af3822dc362b6253bda1c9699466dd0bbbf6066. It's obsoleted by refs #24395.
2015-02-24Fixed #24395 -- Ensured inline ModelsForms have an updated related instance.Stanislas Guerra
2015-02-24Cleaned up template directory handling in template tests.Preston Timmons
2015-02-24Combined TemplateTests and TemplateRegressionTests.Preston Timmons
2015-02-24Moved test_token_smart_split into ParserTests.Preston Timmons
2015-02-24Moved ifchanged tests into syntax_tests/test_if_changed.py.Preston Timmons
2015-02-24Moved cache tests into syntax_tests/test_cache.py.Preston Timmons
2015-02-24Moved RequestContextTests into test_context.Preston Timmons
2015-02-24Moved TemplateTagLoading cases into test_custom.Preston Timmons
2015-02-24Moved include tests into syntax_tests/test_include.py.Preston Timmons
2015-02-24Moved ssi tests into syntax_tests/test_ssi.py.Preston Timmons
2015-02-24Cleaned up template loader tests.Preston Timmons
2015-02-24Fixed typos in flatpages_tests comments.Nik Nyby
2015-02-23Made migrations tests write to a temporary directory.Aymeric Augustin
This is preferrable to writing in the current working directory because it eliminates the risk to leak unwanted files, which can result in very weird test failures. Also this will help if we ever try to run these tests concurrently.
2015-02-23Prevented makemigrations from writing in sys.path[0].Aymeric Augustin
There's no reason to assume that sys.path[0] is an appropriate location for generating code. Specifically that doesn't work with extend_sys_path which puts the additional directories at the end of sys.path. In order to create a new migrations module, instead of using an arbitrary entry from sys.path, import as much as possible from the path to the module, then create missing submodules from there. Without this change, the tests introduced in the following commit fail, which seems sufficient to prevent regressions for such a refactoring.
2015-02-23Fixed a test failure under Windows and Python 2.Aymeric Augustin
2015-02-23Normalized usage of the tempfile module.Aymeric Augustin
Specifically stopped using the dir argument.
2015-02-23Guaranteed removal of temporary files during tests.Aymeric Augustin
Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
2015-02-23Fixed #23762 -- clarified CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecation in docsKenneth Kam
2015-02-23Fixed #24377 -- Fixed model inline formsets with primary key's that have ↵Tim Graham
defaults.
2015-02-23Broke long lines in code examples.Ian Lee
The website only renders code blocks at 96 chars, and therefore long code lines get wrapped. Manually breaking the lines prevents the wrapping from occurring.
2015-02-23Added formats for the Azerbaijani locale.Emin Mastizada
2015-02-23Fixed #24381 -- removed ForeignObjectRel opts and to_optsAnssi Kääriäinen
These cached properies were causing problems with pickling, and in addition they were confusingly defined: field.rel.model._meta was not the same as field.rel.opts. Instead users should use field.rel.related_model._meta inplace of field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts.
2015-02-23Fixed #24366 -- Optimized traversal of large migration dependency graphs.Marten Kenbeek
Switched from an adjancency list and uncached, iterative depth-first search to a Node-based design with direct parent/child links and a cached, recursive depth-first search. With this change, calculating a migration plan for a large graph takes several seconds instead of several hours. Marked test `migrations.test_graph.GraphTests.test_dfs` as an expected failure due to reaching the maximum recursion depth.
2015-02-22Fixed signature of BaseDatabaseOperations.date_interval_sql() and document ↵Michael Manfre
the change.
2015-02-22Fixed a few uses of Template that relied on a default engine.Aymeric Augustin
Refs #24389.
2015-02-22Removed rmtree_errorhandler.Aymeric Augustin
The stated reason for its introduction in d18d37ce no longer applies since Django's code repository was switched from Subversion to git. Furthermore it never had any effect because shutil.rmtree ignores its onerror argument when ignore_errors is True. The reason for its use in template management commands is unclear.
2015-02-22Updated tutorial to use explicit relative imports.Tim Graham
2015-02-22Corrected sqlmigrate output in tutorial 1.Tim Graham
2015-02-22Fixed #24371 -- Cautioned against trying to switch databases.Tim Graham
2015-02-22Fixed #24389 -- Isolated the CSRF view from the TEMPLATES setting.Aymeric Augustin
Thanks uranusjr for the report and analysis.
2015-02-22Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
2015-02-21Fixed #24376 -- added verbose_name arg to UUIDFieldMichael Angeletti
2015-02-21Removed obsolete reference to media directory.Aymeric Augustin
2015-02-21Removed workaround for SVN limitations.Aymeric Augustin
In addition to simplifying the code, this reduces the number of writes.
2015-02-21Avoided collecting admin static files in tests.Aymeric Augustin
This makes the staticfiles tests 2.5 times faster.