mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-04 05:34:39 +03:00
Add watchgod for uvicorn
This commit is contained in:
parent
e60084fee1
commit
d16d0aa5c4
|
@ -18,7 +18,6 @@ flower==0.9.4 # https://github.com/mher/flower
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_async == 'y' %}
|
{%- if cookiecutter.use_async == 'y' %}
|
||||||
uvicorn==0.11.5 # https://github.com/encode/uvicorn
|
uvicorn==0.11.5 # https://github.com/encode/uvicorn
|
||||||
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# Django
|
# Django
|
||||||
|
|
|
@ -8,6 +8,9 @@ psycopg2==2.8.5 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
||||||
{%- else %}
|
{%- else %}
|
||||||
psycopg2-binary==2.8.5 # https://github.com/psycopg/psycopg2
|
psycopg2-binary==2.8.5 # https://github.com/psycopg/psycopg2
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- if cookiecutter.use_async == 'y' %}
|
||||||
|
watchgod==0.6 # https://github.com/samuelcolvin/watchgod
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
-r ./base.txt
|
-r ./base.txt
|
||||||
|
|
||||||
{%- if cookiecutter.use_async == 'n' %}
|
|
||||||
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
|
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
|
||||||
{%- endif %}
|
|
||||||
psycopg2==2.8.5 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
psycopg2==2.8.5 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
|
||||||
{%- 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user