Debian Codegraph @

hypothesis-python/tests/django/toys/settings/settings_no_contrib.py

raw
1 # This file is part of Hypothesis, which may be found at
2 # https://github.com/HypothesisWorks/hypothesis/
3 #
4 # Copyright the Hypothesis Authors.
5 # Individual contributors are listed in AUTHORS.rst and the git log.
6 #
7 # This Source Code Form is subject to the terms of the Mozilla Public License,
8 # v. 2.0. If a copy of the MPL was not distributed with this file, You can
9 # obtain one at https://mozilla.org/MPL/2.0/.
10
11 from .settings import * # noqa: F403
12
13 # We test django in two contexts: with some default django.contrib apps installed
14 # (which is settings.py), and with no django.contrib apps installed (which is this
15 # file). We set DJANGO_SETTINGS_MODULE in tox to select which settings file we
16 # use during testing.
17
18 INSTALLED_APPS = ["tests.django.toystore"]
19 ROOT_URLCONF = "tests.django.toys.settings.no_urls"