mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +03:00
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:
parent
a0174840cb
commit
fa6ca7b1c8
|
@ -79,6 +79,10 @@ THIRD_PARTY_APPS = [
|
||||||
{%- if cookiecutter.use_celery == 'y' %}
|
{%- if cookiecutter.use_celery == 'y' %}
|
||||||
"django_celery_beat",
|
"django_celery_beat",
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{% if cookiecutter.use_drf == "y" -%}
|
||||||
|
"rest_framework.authtoken",
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
LOCAL_APPS = [
|
LOCAL_APPS = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user