summaryrefslogtreecommitdiff
path: root/django/core/management
AgeCommit message (Collapse)Author
2013-07-22Make migrate command recognise prefixes and 'zero'.Andrew Godwin
2013-07-02Merge branch 'master' into schema-alterationAndrew Godwin
2013-06-28Removed 'cleanup' management command as per deprecation TL.Ramiro Morales
2013-06-28Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/models/fields/related.py tests/field_deconstruction/tests.py
2013-06-25Fixed #20653 -- Renamed checksetup management command.Russell Keith-Magee
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
2013-06-22Fixed #20311 -- Make sure makemessages doesn't create duplicate Plural-Forms ↵Ramiro Morales
.po file headers. Thanks naktinis for the report and initial patch.
2013-06-20Rename makemigration to makemigrationsAndrew Godwin
2013-06-20Fixed #20632 -- Fixed {{ docs_version }} in project templateBaptiste Mispelon
2013-06-19Autodetect fields, have migrate actually workAndrew Godwin
2013-06-19Makemigration command now worksAndrew Godwin
2013-06-19Removed several unused imports.Aymeric Augustin
2013-06-19First stab at some migration creation commandsAndrew Godwin
2013-06-19Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/loading.py
2013-06-14Fixed python 3.2 compat.Florian Apolloner
2013-06-13Added a ``checksetup`` management command for verifying Django compatibility.Daniel Lindsley
2013-06-12Fixed #20579 -- Improved TransactionTestCase.available_apps.Aymeric Augustin
Also moved its documentation to the 'advanced' section. It doesn't belong to the 'overview'. Same for TransactionTestCase.reset_sequences. When available_apps is set, after a TransactionTestCase, the database is now totally empty. post_syncdb is fired at the beginning of the next TransactionTestCase. Refs #20483.
2013-06-10Added a stealth option to flush to allow cascades.Aymeric Augustin
This allows using flush on a subset of the tables without having to manually cascade to all tables with foreign keys to the tables being truncated, when they're known to be empty. On databases where truncate is implemented with DELETE FROM, this doesn't make a difference. The cascade is allowed, not mandatory.
2013-06-09Added runserver validation to detect if DEBUG=False and ALLOWED_HOSTS is empty.Tim Graham
Refs #19875.
2013-06-07Fixed #19925 - Added validation for REQUIRED_FIELDS being a listChris Streeter
Thanks Roman Alexander for the suggestion.
2013-06-07Initial stab at a migrate command, it's probably quite a way off.Andrew Godwin
2013-06-07Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/fields/related.py
2013-06-03Fixed loaddata for Django checkouts with non ASCII chars in the name.Florian Apolloner
2013-06-03Fixed small regression from 51aa000378.Aymeric Augustin
A test failed if the path to the Django checkout contained a dot. Refs #20485.
2013-06-02Fixed #20485 -- Refactored loaddata for speed.Aymeric Augustin
Thanks Anssi for reporting this performance bottleneck.
2013-05-31Improved the usage message of the test command.René Fleschenberg
2013-05-30Fixed #20509 - Proper parsing for dumpdata --pks option.Tim Graham
Thanks weipin for the report and Baptiste Mispelon for the patch.
2013-05-29Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz
Thanks mbertheau for the report and Ash Christopher for the initial patch.
2013-05-28Fixed #20484 -- Added model validation for GenericIPAddressFieldTim Graham
GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
2013-05-26Replaced `and...or...` constructs with PEP 308 conditional expressions.Ramiro Morales
2013-05-23Fixed #11398 - Added a pre_syncdb signalDonald Stufft
2013-05-22Removed check for 0.15 version of gettext toolsClaude Paroz
gettext 0.15 has been released in July 2006.
2013-05-20Fixed #20445 -- Raised original exception after command errorJorge Bastida
2013-05-19Fixed #16330 -- added --pks option in dumpdata commandPreston Holmes
Thanks to guettli for the initial ticket and patch, with additional work from mehmetakyuz and Kevin Brolly.
2013-05-19Fixed #18990 -- Loaddata now complains if fixture doesn't existSenko Rasic
If the fixture doesn't exist, loaddata will output a warning. The fixture named "initial_data" is exceptional though; if it doesn't exist, the warning is not emitted. This allows syncdb and flush management commands to attempt to load it without causing spurious warnings. Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions to the ticket.
2013-05-19Fixed #18990: Loaddata now complains if fixture doesn't existSenko Rasic
The fixture named "initial_data" is exceptional though; if it doesn't exist, the error is not raised. This allows syncdb and flush management commands to attempt to load it without causing an error if it doesn't exist.
2013-05-18Fixed #20430 - Enable iterable of iterables for model choicesDonald Stufft
Allows for any iterable, not just lists or tuples, to be used as the inner item for a list of choices in a model.
2013-05-18Fixed #20422 -- Applied makemessage's --ignore patterns to full pathBaptiste Mispelon
Fix makemessage's --ignore patterns being applied to the full path instead of the file name. Thanks to nnseva for the report and the original patch.
2013-05-18Merge branch 'master' into schema-alterationAndrew Godwin
2013-05-17Replaced an antiquated pattern.Aymeric Augustin
Thanks Lennart Regebro for pointing it out.
2013-05-14Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley
This starts the deprecation period for PIL (support to end in 1.8).
2013-05-10Merge branch 'master' into schema-alterationAndrew Godwin
2013-05-08Fixed #20256 -- Corrected startproject --template help textClaude Paroz
Thanks n0nam3 for the patch.
2013-05-07Fixed #20354 -- `makemessages` no longer crashes with `UnicodeDecodeError`Tai Lee
Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with the file name and location, and continue processing other files.
2013-04-18Merge branch 'master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py
2013-04-01Fixed #5014 -- Guessed max_digits and decimal_places for SQLiteClaude Paroz
Decimal is treated as float on SQLite, hence inspectdb can only guess max_digits and decimal_places arguments.
2013-03-24Fixed #18985 -- ensure module level deprecations are displayedPreston Holmes
Also don't compete with -W CLI option. Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch.
2013-03-24Fixed #19385 again, now with real code changesAnssi Kääriäinen
The commit of 266de5f9ae9e9f2fbfaec3b7e4b5fb9941967801 included only tests, this time also code changes included...
2013-03-19Fixed #18003 -- Preserved tracebacks when re-raising errors.konarkmodi
Thanks jrothenbuhler for draft patch, Konark Modi for updates.
2013-03-18Fixed #17037 -- Added a --all option to diffsettings.Aymeric Augustin
2013-03-16Fix #20058: Make compilemessages use stdout instead of stderr.Baptiste Mispelon