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 # ------------------------------------------------------------------------------