summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-21Removed TestServeAdminMedia.Aymeric Augustin
It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated.
2015-02-21Fixed allow_migrate signature in one of the tests.Loic Bistuer
Refs #24351.
2015-02-20Fixed typo in django/db/models/fields/files.py comment.Don Kirkby
2015-02-20Fixed #24341 -- Added specific error messages to RangeField subclassesforesmac
2015-02-20Removed reference to iteration count in the PBKDF2 hasher docstring.Simon Charette
2015-02-20Removed a non-obvious side-effect of assigning Context.template.Aymeric Augustin
Explicit is better than implicit.
2015-02-20Fixed PBKDF2PasswordHasher comments to reflect reality.Frank Wiles
2015-02-20Fixed #24328 -- cleaned up Options._get_fields() implementationAnssi Kääriäinen
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583.
2015-02-20Fixed typo in path to is_safe_url()Tim Graham
2015-02-20Fixed typo in docs/internals/contributing/triaging-tickets.txtTim Graham
2015-02-20Fixed #24373 -- Added run_validators to ArrayField.Marc Tamlyn
Thanks to DavidMuller for the report.
2015-02-20Update converters to take a consistent set of parameters.Marc Tamlyn
As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions.
2015-02-20Fixed #24343 -- Ensure db converters are used for foreign keys.Marc Tamlyn
Joint effort between myself, Josh, Anssi and Shai.
2015-02-19Simplified and updated committing code guidelines.Tim Graham
2015-02-19Fixed #23811 -- Added a guide for using git bisect.Tim Graham
2015-02-19Fixed typo in error message in the test.Tim Graham
2015-02-19Fixed typo in django.core.servers.basehttp message.Alex Vidal
2015-02-19Set context.template instead of context.engine while rendering.Aymeric Augustin
This opens more possibilities, like accessing context.template.origin. It also follows the chain of objects instead of following a shortcut.
2015-02-19Fixed #20889 -- Prevented BadHeaderError when Python inserts newlineClaude Paroz
Workaround for http://bugs.python.org/issue20747. In some corner cases, Python 2 inserts a newline in a header value despite `maxlinelen` passed in Header constructor. Thanks Tim Graham for the review.
2015-02-19Fixed #24307: Avoided redundant column nullability modifications on OracleShai Berger
Thanks Joris Benschop for the report, and Tim Graham for the tests.
2015-02-18Fixed #24362: Made test run each migration operation in its own schema editorShai Berger
Thanks Tim Graham for pointing out the fix.
2015-02-18Fixed #24291 - Fixed migration ModelState generation with unused swappable ↵Marten Kenbeek
models Swapped out models don't have a _default_manager unless they have explicitly defined managers. ModelState.from_model() now accounts for this case and uses an empty list for managers if no explicit managers are defined and a model is swapped out.
2015-02-18Removed unused foreign_key_re variables in MySQL/Oracle DB backendsAdam Chainz
2015-02-18Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a ↵Tim Graham
non-ASCII path.
2015-02-18Refs #24324 -- Fixed crash in {% debug %} tag on Python 2.Tim Graham
If Django is installed in a path that contains non-ASCII characters, the tag failed with UnicodeDecodeError.
2015-02-17Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵Tim Graham
contains non-ASCII characters.
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in MigrationWriter on Python 2.Tim Graham
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in template_backends testsTim Graham
The message for the SuspiciousFileOperation exception needs to be a unicode string.
2015-02-17Fixed "environment can only contain strings" in model_regress test on Windows.Tim Graham
2015-02-17Added an import to docs/topics/testing/advanced.txt example.Tim Graham
2015-02-17Refs #24324 -- Fixed get_app_template_dirs() UnicodeDecodeError on Python 2.Tim Graham
The function implemented most of upath(), but skipped the check for strings that are already unicode.
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in makemigrations.Tim Graham
If the project path contained a non-ASCII character, Python 2 crashed.
2015-02-17Refs #24324 -- Fixed UnicodeEncodeError in SQLite backend while testing.Tim Graham
If 'name' contained non-ASCII characters, the comparison raised a UnicodeEncodeError on Python 2.
2015-02-17Refs #24324 -- Fixed makemessages crash when Django is installed in a ↵Tim Graham
non-ASCII path.
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path.Tim Graham
2015-02-17Refs #24324 -- Fixed management command discovery on non-ASCII paths.Tim Graham
2015-02-17Fixed #24290 -- Skipped postgres_tests if not running with PostgreSQL.Tim Graham
2015-02-16Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for ↵Tim Graham
contrib.postgres).
2015-02-16Moved contrib.contenttypes tests out of contrib.Tim Graham
2015-02-16Fixed #24350 -- Freshened up database install topic section.Tim Graham
2015-02-16Fixed #24299 -- Added an auth migration to ensure contenttypes is migrated.Tim Graham
Without this migration, the auth signal handlers will fail if migrating only auth.
2015-02-16Removed a note about old versions of MySQLdb.Tim Graham
2015-02-16Refs #24299 -- Made contenttypes migrations signal handler more robust.Sergey Fedoseev
2015-02-16Added tests for get_related_models_recursiveMarkus Holtermann
2015-02-16Fixed #24225, #24264, #24282 -- Rewrote model reloading in migration project ↵Markus Holtermann
state Instead of naively reloading only directly related models (FK, O2O, M2M relationship) the project state needs to reload their relations as well as the model changes as well. Furthermore inheriting models (and super models) need to be reloaded in order to keep inherited fields in sync. To prevent endless recursive calls an iterative approach is taken.
2015-02-16Refs #24282 -- Added failing test case for assigning models of wrong type to FKMarkus Holtermann
Thanks Jeff Singer for the test case.
2015-02-16Refs #24264 -- Added failing test case for updating a FK when changing a PKMarkus Holtermann
When the primary key column is altered, foreign keys of referencing models must be aware of a possible data type change as well and thus need to be re-rendered. Thanks Tim Graham for the report.
2015-02-16Refs #24225 -- Added failing test case for removing a previously added field ↵Claude Paroz
in migrations When a related field is deleted, the related model must be updated. As unchanged models are shared in migration states, the related model must be re-rendered so that the change applies to a new copy of the related model. Thanks Henrik Heimbuerger for the report.
2015-02-16Removed unnecessary __init__ definition from DebugLexer.Preston Timmons