[Django] #22032: Document settings.MIGRATION_MODULES

23 views
Skip to first unread message

Django

unread,
Feb 12, 2014, 12:48:43 PM2/12/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: | Keywords: migrations
Documentation | Has patch: 0
Severity: Normal | Needs tests: 0
Triage Stage: Accepted | Easy pickings: 1
Needs documentation: 0 |
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
There's no mention of this new setting in the documentation.

From what I understand, it's a way to override where Django can find
migrations for a given app.

It's a dictionary where keys are the names of applications and the values
are the name of the module (inside the app) where the migrations reside.

--
Ticket URL: <https://code.djangoproject.com/ticket/22032>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 12, 2014, 12:54:24 PM2/12/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by mjtamlyn):

* severity: Normal => Release blocker


--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:1>

Django

unread,
Feb 19, 2014, 8:57:05 AM2/19/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: nobody

Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by vedran):

Should this should reside
https://docs.djangoproject.com/en/dev/topics/migrations/#adding-
migrations-to-apps ?

--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:2>

Django

unread,
Feb 19, 2014, 9:08:08 AM2/19/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: nobody

Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by bmispelon):

At the very least, it should be present in the full list of settings [1].

A mention in the migrations documentation itself would be a good idea too
though I'm not sure which section is the most appropriate for that.

The second section ("Two commands") says that "the migration files for
each app live in a “migrations” directory inside of that app [...]" so
maybe a quick mention of the setting at this point would be best.

What do you think?

[1] https://docs.djangoproject.com/en/dev/ref/settings/

--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:3>

Django

unread,
Feb 22, 2014, 12:13:20 PM2/22/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner:
Type: | gregchapple
Cleanup/optimization | Status: assigned

Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by gregchapple):

* status: new => assigned
* owner: nobody => gregchapple


--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:4>

Django

unread,
Feb 22, 2014, 12:41:53 PM2/22/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner:
Type: | gregchapple
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
nlsprint14 | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by gregchapple):

* keywords: migrations => migrations nlsprint14


--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:5>

Django

unread,
Feb 22, 2014, 12:47:53 PM2/22/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner:
Type: | gregchapple
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
nlsprint14 | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------

Comment (by gregchapple):

Added a patch in this pull request
https://github.com/django/django/pull/2352

--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:6>

Django

unread,
Feb 22, 2014, 1:12:52 PM2/22/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner:
Type: | gregchapple
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Release blocker | Resolution:
Keywords: migrations | Triage Stage: Accepted
nlsprint14 | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0

Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by gregchapple):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:7>

Django

unread,
Feb 22, 2014, 2:16:53 PM2/22/14
to django-...@googlegroups.com
#22032: Document settings.MIGRATION_MODULES
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner:
Type: | gregchapple
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Release blocker | Resolution: fixed

Keywords: migrations | Triage Stage: Accepted
nlsprint14 | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by Baptiste Mispelon <bmispelon@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"ede99f0ec3a14e3ba218b53c51d4295dbef77e3e"]:
{{{
#!CommitTicketReference repository=""
revision="ede99f0ec3a14e3ba218b53c51d4295dbef77e3e"
Fixed #22032 -- added documentation for settings.MIGRATION_MODULES
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/22032#comment:8>

Reply all
Reply to author
Forward
0 new messages