Add rest_framework.authtoken on installed apps.

Add rest_framework.authtoken on installed apps when the option to use DRF is selected,  because the endpoint
'/auth-token/" depends on the said app.
This commit is contained in:
jeromecaisip 2020-03-02 19:16:33 +01:00 committed by GitHub
parent a0174840cb
commit fa6ca7b1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,10 @@ THIRD_PARTY_APPS = [
{%- if cookiecutter.use_celery == 'y' %}
"django_celery_beat",
{%- endif %}
{% if cookiecutter.use_drf == "y" -%}
"rest_framework.authtoken",
{%- endif %}
]
LOCAL_APPS = [