Skip to content

Commit

Permalink
Allow None in settings MIGRATION_MODULES dict values (#1871)
Browse files Browse the repository at this point in the history
This is used to disable migrations for a particular module (such as during tests) https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-MIGRATION_MODULES
  • Loading branch information
asottile authored Dec 11, 2023
1 parent 4c5ae04 commit aecb947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/conf/global_settings.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ STATICFILES_FINDERS: list[str]
##############

# Migration module overrides for apps, by app label.
MIGRATION_MODULES: dict[str, str]
MIGRATION_MODULES: dict[str, str | None]

#################
# SYSTEM CHECKS #
Expand Down

0 comments on commit aecb947

Please sign in to comment.