| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ask_not_null_alteration suggestion.
|
|
|
|
| |
MIGRATION_MODULES setting.
|
|
|
|
|
|
|
| |
--noinput option.
Changed --noinput option in makemigrations to suppress all user prompts,
not just when combined with --merge.
|
|
|
|
| |
Refs #23395.
|
|
|
|
|
|
| |
altering a NULL column into a NOT NULL one due to existing rows
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
|
|
|
|
| |
datetimes to migrations.
|
|
|
|
|
|
|
|
|
|
| |
for defaults
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.
|
|
|
|
| |
Refs #22564.
|
| |
|
|
|
|
| |
packages for mig dirs
|
| |
|
|
|
|
| |
defaults
|
|
|
|
| |
Mostly for consistency with MODELS_MODULE_NAME; it's unlikely to change.
|
|
|
|
|
|
| |
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
|
|
|
|
| |
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This commit doesn't contain any code changes; it's purely a refactoring.
|
| |
|
|
makemigrations
|