From dd24922d712c2e2dc9d5e1ea309652c7d98206f0 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 11 Dec 2017 11:30:43 -0500 Subject: [PATCH 1/3] Update README.rst --- README.rst | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 563f99f..ffde51d 100644 --- a/README.rst +++ b/README.rst @@ -27,4 +27,23 @@ This will automatically configure ``DATABASE_URL``, ``ALLOWED_HOSTS``, WhiteNois **Bonus points!** If you set the ``SECRET_KEY`` environment variable, it will automatically be used in your Django settings, too! -✨🍰✨ \ No newline at end of file +Disabling Functionality +/////////////////////// + +The following keyword arguments can be passed ``False`` as a value, which will disable automatic configuration for their specific areas of responsibility: + +- ``databases`` +- ``test_runner`` +- ``staticfiles`` +- ``allowed_hosts`` +- ``logging`` +- ``secret_key`` + +----------------------- + +You can also just use this library to provide a test runner for your Django application, for use on Heroku CI:: + + import django_heroku + TEST_RUNNER = 'django_heroku.HerokuDiscoverRunner' + +✨🍰✨ From 2b28d8f8c91c5873d3ecd1863b24b19d8b027217 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 11 Dec 2017 11:42:29 -0500 Subject: [PATCH 2/3] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index ffde51d..cb92f50 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ This will automatically configure ``DATABASE_URL``, ``ALLOWED_HOSTS``, WhiteNois Disabling Functionality /////////////////////// -The following keyword arguments can be passed ``False`` as a value, which will disable automatic configuration for their specific areas of responsibility: +`configure()` also accepts keyword arguments that can be passed ``False`` as a value, which will disable automatic configuration for their specific areas of responsibility: - ``databases`` - ``test_runner`` From 58645a88315fe12fc1a1cd1e2aa3d1f7889882b8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 11 Dec 2017 11:42:43 -0500 Subject: [PATCH 3/3] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index cb92f50..2cd92ef 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ This will automatically configure ``DATABASE_URL``, ``ALLOWED_HOSTS``, WhiteNois Disabling Functionality /////////////////////// -`configure()` also accepts keyword arguments that can be passed ``False`` as a value, which will disable automatic configuration for their specific areas of responsibility: +``configure()`` also accepts keyword arguments that can be passed ``False`` as a value, which will disable automatic configuration for their specific areas of responsibility: - ``databases`` - ``test_runner``