[Django] #24540: Migrations will generate migrations a virtualenv

4 views
Skip to first unread message

Django

unread,
Mar 26, 2015, 4:26:44 AM3/26/15
to django-...@googlegroups.com
#24540: Migrations will generate migrations a virtualenv
-------------------------------+--------------------
Reporter: rapilabs | Owner: nobody
Type: Uncategorized | Status: new
Component: Migrations | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Recently upgrade from 1.7 to 1.8 and `makemigrations` generated a couple
of migrations for django-allauth in the app's migrations folder inside the
virtualenv.

It would be handy to have these new migrations created inside my project's
folder so they can be committed to version control and not be lost if I
blow my virtualenv away.

I'm not sure how this would work as I've tried manually moving them to my
project but am unsure how to set the dependency back to the initial app
migration, but this at least should be highlighted as a potential issue.

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

Django

unread,
Mar 26, 2015, 4:27:47 AM3/26/15
to django-...@googlegroups.com
#24540: Migrations will generate migrations in a virtualenv
-------------------------------+--------------------------------------

Reporter: rapilabs | Owner: nobody
Type: Uncategorized | Status: new
Component: Migrations | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by rapilabs):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


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

Django

unread,
Mar 26, 2015, 7:47:36 AM3/26/15
to django-...@googlegroups.com
#24540: Migrations will generate migrations in a virtualenv
-------------------------------+--------------------------------------
Reporter: rapilabs | Owner: nobody
Type: Uncategorized | Status: closed
Component: Migrations | Version: 1.7
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => invalid


Comment:

You can use the `MIGRATION_MODULES` setting to create migrations inside
your project.

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

Reply all
Reply to author
Forward
0 new messages