| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-19 | Fixed #21664: Multi-table inheritance was duplicating _ptr fields | Andrew Godwin | |
| 2014-01-19 | Fixed #21786: Bad behaviour when mixins + abstract bases for migrations | Andrew Godwin | |
| 2014-01-19 | Fixed #21783: (again) Found second source of bug, also squashed it. | Andrew Godwin | |
| 2014-01-19 | Merge pull request #1681 from loic/migrations.format | Andrew Godwin | |
| Fixed #21323 -- Improved readability of serialized Operation. | |||
| 2014-01-20 | Fixed #21323 -- Improved readability of serialized Operation. | Loic Bistuer | |
| 2014-01-19 | Fix unicode default input on py3 | Andrew Godwin | |
| 2014-01-19 | Implement swappable model support for migrations | Andrew Godwin | |
| 2014-01-16 | Fixed #21784: Correctly decode stdin input for migration defaults | Andrew Godwin | |
| 2014-01-08 | Fixed #21142: Dependency failures on unmigrated apps. | Andrew Godwin | |
| 2013-12-31 | Made it possible to change an application's label in its configuration. | Aymeric Augustin | |
| Fixed #21683. | |||
| 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 | Populated Apps instances immediately by default. | Aymeric Augustin | |
| 2013-12-29 | Replaced Options.object_name.lower() by Options.model_name. | Aymeric Augustin | |
| Thanks Simon for the suggestion. Also removed inappropriate lowercasing of app labels in migrations. Unlike model names, they are case sensitive. | |||
| 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 | Populated non-master app registries. | Aymeric Augustin | |
| This removes the gap between the master app registry and ad-hoc app registries created by the migration framework, specifically in terms of behavior of the get_model[s] methods. This commit contains a stealth feature that I'd rather not describe. | |||
| 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-27 | Created a constant for the migrations module name. | Aymeric Augustin | |
| Mostly for consistency with MODELS_MODULE_NAME; it's unlikely to change. | |||
| 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-17 | Deborgified the app cache. | Aymeric Augustin | |
| Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code. | |||
| 2013-12-17 | Moved the new app cache inside core. | Aymeric Augustin | |
| 2013-12-17 | Made it possible to create apps without a models module. | Aymeric Augustin | |
| This commit reverts f44c4a5d0f and 39bbd165. django.test.simple will be updated in a separate commit as it requires invasive changes. | |||
| 2013-12-17 | Deprecated get_app(). | Aymeric Augustin | |
| 2013-12-17 | Deprecated get_apps(). | Aymeric Augustin | |
| 2013-12-17 | Deprecated get_app_package, get_app_path and get_app_paths. | Aymeric Augustin | |
| 2013-12-17 | Removed module-level functions for the app cache. | Aymeric Augustin | |
| Since the original ones in django.db.models.loading were kept only for backwards compatibility, there's no need to recreate them. However, many internals of Django still relied on them. They were also imported in django.db.models. They never appear in the documentation, except a quick mention of get_models and get_app in the 1.2 release notes to document an edge case in GIS. I don't think that makes them a public API. This commit doesn't change the overall amount of global state but clarifies that it's tied to the app_cache object instead of hiding it behind half a dozen functions. | |||
| 2013-12-17 | Moved django.db.models.loading to django.apps.cache. | Aymeric Augustin | |
| This commit doesn't contain any code changes; it's purely a refactoring. | |||
| 2013-12-11 | Fix altering of SERIAL columns and InnoDB being picky about FK changes | Andrew Godwin | |
| 2013-12-11 | Better default name for migrations we can't give nice names to | Andrew Godwin | |
| 2013-12-11 | Change FKs when what they point to changes | Andrew Godwin | |
| 2013-12-10 | Fixed E124 pep8 warnings. | Loic Bistuer | |
| 2013-12-06 | Made the migration detector use meta.local_fields instead of meta.fields. | Baptiste Mispelon | |
| Refs #21010. Thanks to Loïc for the patch. | |||
| 2013-12-06 | Fixed ModelState breaking when unique_together has unhashable elements. | Baptiste Mispelon | |
| 2013-12-06 | Added app_label to the error message when field reconstructing fails. | Baptiste Mispelon | |
| 2013-12-06 | Merge pull request #2037 from bmispelon/invalidbaseserror | Andrew Godwin | |
| Fixed TypeError when rendering ModelState with multiple bases. | |||
| 2013-12-06 | Removed unreachable `else` in `try` block. | maurycyp | |
| 2013-12-06 | Fixed TypeError when rendering ModelState with multiple bases. | Baptiste Mispelon | |
| 2013-12-05 | Better error reporting when from_app_cache fails | Andrew Godwin | |
| 2013-12-04 | Migration VCS conflict detection and --merge for makemigrations | Andrew Godwin | |
| 2013-12-04 | Don't make a second migration if there was a force-null-default addcol. | Andrew Godwin | |
| 2013-11-28 | Fixed a deprecation warning introduced by 96dd48c83f. | Simon Charette | |
| 2013-11-27 | Include deferred SQL in sqlmigrate output | Andrew Godwin | |
| 2013-11-27 | Fixed #21438: makemigrations now detects ManyToManyFields | Andrew Godwin | |
| 2013-11-27 | Change initial migration writing to work as docs suggest. | Andrew Godwin | |
| Application template now includes an empty migrations module, and the autodetector will only make initial migrations for apps with empty modules. | |||
| 2013-11-27 | Fix squashed migration loading ordering issue | Andrew Godwin | |
| 2013-11-06 | flake8 fixes | Alex Gaynor | |
| 2013-11-06 | Massive migration optimiser improvements + RenameModel opn | Andrew Godwin | |
| 2013-11-03 | Fixed all E226 violations | Alex Gaynor | |
| 2013-11-03 | Fixed flake8 E251 violations | Milton Mazzarri | |
| 2013-11-02 | More attacking E302 violators | Alex Gaynor | |
