From a60e1c7ffad998d807f754cb3748f86d51d8d861 Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Sun, 10 Jun 2018 23:49:03 +0300 Subject: [PATCH] Install flower==0.9.2 in all environments --- {{cookiecutter.project_slug}}/requirements/base.txt | 3 +++ {{cookiecutter.project_slug}}/requirements/local.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.project_slug}}/requirements/base.txt b/{{cookiecutter.project_slug}}/requirements/base.txt index 6b2ec4b55..224192b95 100644 --- a/{{cookiecutter.project_slug}}/requirements/base.txt +++ b/{{cookiecutter.project_slug}}/requirements/base.txt @@ -11,6 +11,9 @@ whitenoise==3.3.1 # https://github.com/evansd/whitenoise redis>=2.10.5 # https://github.com/antirez/redis {%- if cookiecutter.use_celery == "y" %} celery==3.1.25 # pyup: <4.0 # https://github.com/celery/celery +{%- if cookiecutter.use_docker == 'y' %} +flower==0.9.2 # https://github.com/mher/flower +{%- endif %} {%- endif %} # Django diff --git a/{{cookiecutter.project_slug}}/requirements/local.txt b/{{cookiecutter.project_slug}}/requirements/local.txt index 0660d8ec2..c67276107 100644 --- a/{{cookiecutter.project_slug}}/requirements/local.txt +++ b/{{cookiecutter.project_slug}}/requirements/local.txt @@ -8,9 +8,6 @@ psycopg2==2.7.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 {%- else %} psycopg2-binary==2.7.4 # https://github.com/psycopg/psycopg2 {%- endif %} -{%- if cookiecutter.use_docker == 'y' and cookiecutter.use_celery == 'y' %} -flower==0.9.2 # https://github.com/mher/flower -{%- endif %} # Testing # ------------------------------------------------------------------------------