summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-30Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` packageMoayad Mardini
`makemigrations` will automatically create the package specified in `MIGRATION_MODULES` if it doesn't already exist. Thanks ovidiuc4 for the report.
2014-05-29Merge pull request #2743 from valberg/migration_aware_sql_commandsAndrew Godwin
Making SQL management commands migration aware.
2014-05-29Making SQL management commands migration aware.Víðir Valberg Guðmundsson
2014-05-29Fixed #20401 -- ContentTypeManager.get_for_model reads from db_for_read.Antonis Christofides
Thanks Simon Charette and Tim Graham for the reviews.
2014-05-29Implement Migration.run_beforeChris Beaven
This attribute (used for reverse dependencies) was previously declared and mentioned in the code, but never actually used.
2014-05-28Fixed a typo that Tim Graham noticedAlex Gaynor
2014-05-28Fixed several typos in DjangoAlex Gaynor
2014-05-28Simplified, very slightly, some code in the oracle backendAlex Gaynor
2014-05-28Merge pull request #2734 from valberg/double_order_troubleAndrew Godwin
Fixed #22720 -- Migrations attempt to create _order twice.
2014-05-29Adding test to fix of duplicate _order fields (#22720)Víðir Valberg Guðmundsson
2014-05-29Fixed #22720 -- Migrations attempt to create _order twice.Víðir Valberg Guðmundsson
2014-05-28Set straight the sense of 'uppercases_column_names' feature flagShai Berger
2014-05-28Fixed constant_time_compare on Python 2.7.7Florian Apolloner
Python 2.7.7 includes compare_digest in the hmac module, but it requires both arguments to have the same type. This is usually not a problem on Python 3 since everything is text, but we have mixed unicode and str on Python 2 -- hence make sure everything is bytes before feeding it into compare_digest.
2014-05-28Fixed #22684 -- Added `empty_label` option on ↵Guillaume Pannatier
`django.forms.extras.widets.SelectDateWidget` Thanks danielsamuels for the report
2014-05-28Fixed #22715: Corrected sql for defaults of BinaryField on Oracle with Python3Shai Berger
While at it, fixed a problem in returning empty values (still with BinaryField/Oracle/Python3).
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-05-28Fixed #22714 -- Made contrib.gis use six-provided memoryview typeClaude Paroz
Thanks Tim Graham for the report.
2014-05-27Fixed spelling in docs.Tim Graham
2014-05-27Fixed #22601 -- Added a note about model inheritance.Moayad Mardini
Thanks semenov for the report.
2014-05-27Argument to `reversed` must be a sequence on Py3.Simon Charette
2014-05-27Fix a regression introduced by f011b90363.Simon Charette
`django.get_version` was actually used by the module.
2014-05-27Removed an old compatibility shim added in 1.0Claude Paroz
2014-05-27Fixed #21630 -- Simplified management command discoveryClaude Paroz
Thanks Aymeric Augustin for the report end the review.
2014-05-27Fixed #22699 -- Configure default settings in some management commands.Aymeric Augustin
This makes it possible to run django.setup() in management commands that don't need a settings module. In addition it simplifies error handling. Thanks Claude for the review.
2014-05-27Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.Moayad Mardini
`makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`.
2014-05-26Fix an error in a documented lookup example.Marc Tamlyn
2014-05-25Fixed #22692 -- Added docs for `makemigrations` two command options.Moayad Mardini
Added documentation about `--dry-run` and `--merge`.
2014-05-25Fixed too short title underline in docs.Tim Graham
2014-05-25Fixed typo in docs/ref/models/custom-lookups.txt.Matthew Schinckel
2014-05-26Restored Python 2 compatibility.Florian Apolloner
2014-05-25Removed executeable bit from a few files.Florian Apolloner
2014-05-25Fixed a few warnings in the testsuite.Florian Apolloner
2014-05-26Fixed a ResourceWarning that wasn't properly fixed by the previous commit.Loic Bistuer
Also removed unused import in runtests.py.
2014-05-26Fixed a few ResourceWarning in the test suite. Refs #22680.Loic Bistuer
2014-05-25Removed code deprecated from Django 1.2Claude Paroz
2014-05-24Removed comment forgotten in 3caf957ed5Claude Paroz
2014-05-24Removed GeoWhereNode, obsoleted by GISLookupClaude Paroz
2014-05-24Fixed #22688 -- Documented ready() may be called more than onceClaude Paroz
2014-05-24Fixed #22676 -- makemigrations --dry-run should not ask for defaultsMoayad Mardini
Made the fix in InteractiveMigrationQuestioner class code, rather than MigrationAutodetector, because --dry-run shouldn't affect whether MigrationAutodetector will detect non-nullable fields, but the questioner should skip the question and returns a None for default (since that won't be used anyway) if --dry-run is used.
2014-05-24Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions.
2014-05-24Moved some imports in runtests.pyClaude Paroz
2014-05-24Applied unicode_literals to makemessages commandClaude Paroz
This also fixes #22686 as some sort of side-effect.
2014-05-24Made runtests.py use 'set_installed_apps' APIClaude Paroz
This will also trigger the ready method of any tested application, which was not run before.
2014-05-23Fixed tuple serialization test.Baptiste Mispelon
Thanks to rockallite for the report.
2014-05-23Fixed #22602 -- Improved code coverage of makemigrations command tests.Huu Nguyen
2014-05-22Fixed #21357 -- Fixed test client session initialization.Preston Timmons
The test client will now create a session when it is first accessed if no session already exists.
2014-05-22Fixed #21598 -- cleaned up template loader overrides in testsUnai Zalakain
- Template loader overriding is managed with contexts. - The test loader is a class (function based loaders entered deprecation timeline in 1.4). - Template loader overrider that overrides with test loader added.
2014-05-22Fixed #20816 -- Added hints about Django middleware orderingClaude Paroz
Thanks gthb Trac user for the report, kolypto StackOverflow user for the initial list and Tim Graham for the review.
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-22Fixed #22679 -- Fixed empty tuple serialization in MigrationWriter.Moayad Mardini
Thanks rockallite.wulf for the report.