mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +03:00
Added gunicorn to base.txt requirements for async work
This commit is contained in:
parent
367225e4e8
commit
c9744497c9
|
@ -16,8 +16,9 @@ django-celery-beat==2.0.0 # https://github.com/celery/django-celery-beat
|
||||||
flower==0.9.3 # https://github.com/mher/flower
|
flower==0.9.3 # https://github.com/mher/flower
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_async %}
|
{%- if cookiecutter.use_async == 'y' %}
|
||||||
uvicorn==0.11.3 # https://github.com/encode/uvicorn
|
uvicorn==0.11.3 # https://github.com/encode/uvicorn
|
||||||
|
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# Django
|
# Django
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
-r ./base.txt
|
-r ./base.txt
|
||||||
|
|
||||||
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
|
|
||||||
psycopg2==2.8.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
psycopg2==2.8.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
||||||
|
{%- if cookiecutter.use_async == 'n' %}
|
||||||
|
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
|
||||||
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' %}
|
{%- if cookiecutter.use_whitenoise == 'n' %}
|
||||||
Collectfast==2.1.0 # https://github.com/antonagestam/collectfast
|
Collectfast==2.1.0 # https://github.com/antonagestam/collectfast
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user