| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-03-06 | Added --previous flag to msgmerge command used by makemessages | Claude Paroz | |
| Also took the opportunity to slightly refactor gettext options so as to ease customization by subclassing the command. Thanks Michal Čihař for the report and initial patch. | |||
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-02-18 | Fixed #21732 -- Made compilemessages complain about non-writable location | Claude Paroz | |
| Instead of crashing with a CommandError, now a non-writable location of mo files will only make compilemessages complain and continue. Thanks Ramiro Morales for the review. | |||
| 2014-02-18 | Removed BaseCommand.stdin introduced in ↵ | Baptiste Mispelon | |
| 116d39842dab2569013856e9f3701a7cb6554f09. This option is not actually very useful in the general case because it doesn't override sys.stdin. It's still marginally useful for testing some features of the createsuperuser command so it was moved there. This commit also makes the detection of a TTY in createsuperuser a bit more robust, after a suggestion of appolo13. | |||
| 2014-02-17 | Added the possibility to pass a stdin object to a management command. | Baptiste Mispelon | |
| This makes testing certain features easier. Thanks to AeroNotix for the original patch. | |||
| 2014-02-12 | Fixed #21856: Don't crash runserver when DATABASES = {} | Andrew Godwin | |
| 2014-02-12 | Reverting unapplied migrations check away from being a system-level check. | Andrew Godwin | |
| This reverts commit 0ac13eccebb3d879f79b31585b1e81f655067179. | |||
| 2014-02-12 | Add --empty option to makemigrations | Andrew Godwin | |
| 2014-02-12 | Fixed #22025 -- Listing app followed by app.Model in dumpdata command | Eli Bendersky | |
| When invoked as follows: $ python manage.py dumpdata blogapp blogapp.Tag Django would throw a TypeError. This commit fixes the problem and provides a test. | |||
| 2014-02-09 | Fixed #21969: Fix behaviour of initial_data with migrated apps | Andrew Godwin | |
| 2014-02-09 | Fixed #21968: Bad detection of old-style apps to add initial migration | Andrew Godwin | |
| 2014-02-08 | Remove check_migrations from the runserver command and use the new checks ↵ | mlavin | |
| framework to check for unapplied migrations. Don't check for migrations if the DATABASES setting is empty. | |||
| 2014-02-02 | Ensure cursors are closed when no longer needed. | Michael Manfre | |
| This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'. | |||
| 2014-01-28 | Fixed #21849 -- Included the count of silenced system checks in output. | Tim Graham | |
| 2014-01-26 | Fixed #21866 -- Replaced "COMMIT" in managmement command SQL with backend hook. | Wojciech Banaś | |
| 2014-01-26 | Took advantage of the new get_model API. Refs #21702. | Aymeric Augustin | |
| 2014-01-25 | Fixed #21873 -- Removed duplicate import. | Aymeric Augustin | |
| Thanks Sephi for the report. | |||
| 2014-01-20 | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | |
| This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | |||
| 2014-01-17 | Adjusted inspectdb management command to yield PEP 8-compliant output ↵ | JustinTArthur | |
| barring Django Coding Style exceptions. | |||
| 2014-01-13 | Remove unneded open(.., 'U') when on python 3. | Marc Tamlyn | |
| Universal newlines is enabled by default on py3, and the usage of 'U' is deprecated in py3.4. | |||
| 2014-01-12 | Fixed #21770 -- Updated autocomplete for app-loading. | Aymeric Augustin | |
| Thanks dfunckt for the report. | |||
| 2014-01-12 | Fixed #21477 -- Renamed db to using in pre/post_migrate signals. | Aymeric Augustin | |
| 2014-01-06 | Avoided catching ImproperlyConfigured on django.setup(). | Aymeric Augustin | |
| Fixed #21737. Thanks Florian for the report. Also removed redundant imports in that file. | |||
| 2014-01-02 | Moved django.setup() to ManagementUtility | Claude Paroz | |
| In get_commands, setup() might already have been called, for example when the management command is called through call_command. Moving setup() to ManagementUtility so as it is only called when the command is run from command line. | |||
| 2014-01-01 | Adjusted previous commit for Python 3. | Aymeric Augustin | |
| 2014-01-01 | Fixed #21018 -- Reversed precedence order for management commands. | Aymeric Augustin | |
| 2014-01-01 | Wiped get_commands() cache when INSTALLED_APPS changes. | Aymeric Augustin | |
| Refs #21018, #21688. | |||
| 2013-12-31 | Oops. | Aymeric Augustin | |
| 2013-12-31 | Called django.setup() explicitly in management commands. | Aymeric Augustin | |
| This avoids duplicating code. | |||
| 2013-12-30 | Removed the only_with_models_module argument of get_model[s]. | Aymeric Augustin | |
| Now that the refactorings are complete, it isn't particularly useful any more, nor very well named. Let's keep the API as simple as possible. Fixed #21689. | |||
| 2013-12-30 | Merged Apps.populate_apps() and populate_models(). | Aymeric Augustin | |
| After the recent series of refactorings, there's no reason to keep two distinct methods. Refs #21681. | |||
| 2013-12-30 | Populated the app registry earlier at startup. | Aymeric Augustin | |
| Refs #1796, #21676. | |||
| 2013-12-29 | Stopped calling get_models() for a side effect. | Aymeric Augustin | |
| 2013-12-29 | Changed get_validation_errors to use an app config. | Aymeric Augustin | |
| 2013-12-29 | Changed get_migratable_models to use an app config. | Aymeric Augustin | |
| 2013-12-29 | Changed sql_* to use an app config instead of a models module. | Aymeric Augustin | |
| 2013-12-29 | Removed unused import. | Aymeric Augustin | |
| 2013-12-29 | Added AppConfig.get_models(). | Aymeric Augustin | |
| 2013-12-29 | Refactored the migration signals to use app configs. | Aymeric Augustin | |
| De-aliased pre/post_syncdb to pre/post_migrate to increase backwards-compatibility. | |||
| 2013-12-28 | Changed get_model to raise an exception on errors. | Aymeric Augustin | |
| Returning None on errors required unpythonic error checking and was inconsistent with get_app_config. get_model was a private API until the previous commit, but given that it was certainly used in third party software, the change is explained in the release notes. Applied the same change to get_registered_model, which is a new private API introduced during the recent refactoring. | |||
| 2013-12-28 | Used app_label instead of appname. | Aymeric Augustin | |
| The last component of the dotted path to the application module is consistently referenced as the application "label". For instance it's AppConfig.label. appname could be confused with AppConfig.name, which is the full dotted path. | |||
| 2013-12-28 | Migrated built-in AppCommands to use handle_app_config. | Aymeric Augustin | |
| 2013-12-28 | Updated the AppCommand API to support apps without a models module. | Aymeric Augustin | |
| 2013-12-27 | Refactored dumpdata with app configs instead of models modules. | Aymeric Augustin | |
| 2013-12-26 | Made the AppConfig API marginally more consistent. | Aymeric Augustin | |
| Eliminated the app_ prefix that was more confusing than useful. | |||
| 2013-12-24 | Renamed AppCache to Apps. | Aymeric Augustin | |
| Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | |||
| 2013-12-22 | Moved apps back in the toplevel django namespace. | Aymeric Augustin | |
| Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | |||
| 2013-12-22 | Stopped iterating on INSTALLED_APPS. | Aymeric Augustin | |
| Used the app cache's get_app_configs() method instead. | |||
| 2013-12-22 | Populated models only when necessary in get_app_config[s]. | Aymeric Augustin | |
| Took this opportunity to change get_app[s] to only consider applications containing a model module as that seems slightly more backwards compatible. Since callers that care about models pass only_with_models_module=True, this has very few consequences. Only AppCommand needed a change. | |||
| 2013-12-17 | Moved the new app cache inside core. | Aymeric Augustin | |
