|
@@ -1,24 +0,0 @@
|
1
|
|
---- orig/django/core/management/commands/makemigrations.py 2015-09-16 11:52:59.456895569 +0200
|
2
|
|
-+++ new/django/core/management/commands/makemigrations.py 2015-09-16 11:51:34.344896348 +0200
|
3
|
|
-@@ -84,11 +84,20 @@ class Command(BaseCommand):
|
4
|
|
- if self.merge and conflicts:
|
5
|
|
- return self.handle_merge(loader, conflicts)
|
6
|
|
-
|
7
|
|
-+ questionner_kwargs = {
|
8
|
|
-+ 'specified_apps': app_labels,
|
9
|
|
-+ 'dry_run': self.dry_run
|
10
|
|
-+ }
|
11
|
|
-+ if self.interactive:
|
12
|
|
-+ questionner = InteractiveMigrationQuestioner(**questionner_kwargs)
|
13
|
|
-+ else:
|
14
|
|
-+ questionner = MigrationQuestioner(**questionner_kwargs)
|
15
|
|
-+
|
16
|
|
- # Set up autodetector
|
17
|
|
- autodetector = MigrationAutodetector(
|
18
|
|
- loader.project_state(),
|
19
|
|
- ProjectState.from_apps(apps),
|
20
|
|
-- InteractiveMigrationQuestioner(specified_apps=app_labels, dry_run=self.dry_run),
|
21
|
|
-+ questionner
|
22
|
|
- )
|
23
|
|
-
|
24
|
|
- # If they want to make an empty migration, make one for each app
|