mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-04-13 13:24:25 +03:00
Optionally remove/add restframework according to choice
This commit is contained in:
parent
bfe463fa7c
commit
4825b932c7
|
@ -29,5 +29,7 @@ django-compressor==2.4 # https://github.com/django-compressor/django-compressor
|
|||
{%- endif %}
|
||||
django-redis==4.11.0 # https://github.com/niwinz/django-redis
|
||||
|
||||
{%- if cookiecutter.use_drf == "y" %}
|
||||
# Django REST Framework
|
||||
djangorestframework==3.11.0 # https://github.com/encode/django-rest-framework
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user