Преглед изворни кода

HUE-3287 [core] Django 1.11 upgrade
- This change actually fixes Django migrations. In the Makefile, at this place Hue's APPS are not available, commenting out django makemigrations command

Prakash Ranade пре 7 година
родитељ
комит
c4f3ea7d0e
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      desktop/Makefile

+ 3 - 3
desktop/Makefile

@@ -98,9 +98,9 @@ $(DESKTOP_DB): $(BLD_DIR_BIN)/hue
 	  echo 'Removing old database (DESKTOP_DEBUG is set)' ; \
 	  rm -f $@ ; \
 	fi
-	@echo "--- Syncing/updating database at $@"
-	@$(ENV_PYTHON) $(BLD_DIR_BIN)/hue makemigrations --noinput
-	@$(ENV_PYTHON) $(BLD_DIR_BIN)/hue migrate
+	#@echo "--- Syncing/updating database at $@"
+	#@$(ENV_PYTHON) $(BLD_DIR_BIN)/hue makemigrations --noinput
+	#@$(ENV_PYTHON) $(BLD_DIR_BIN)/hue migrate
 
 # Targets that simply recurse into all of the applications
 ENV_INSTALL_TARGETS := $(APPS:%=.recursive-env-install/%)