mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +03:00
f02aa463a7
You can alternatively use DJANGO_SETTINGS_MODULE, but this is overridden by the environment variable of the same name. In order to always run it with test settings, regardless of the environment variable use --ds. https://pytest-django.readthedocs.io/en/latest/configuring_django.html
6 lines
135 B
INI
6 lines
135 B
INI
[pytest]
|
|
addopts = --ds=config.settings.test
|
|
{%- if cookiecutter.js_task_runner != 'None' %}
|
|
norecursedirs = node_modules
|
|
{%- endif %}
|