diff --git a/AUTHORS b/AUTHORS index 108baa8..9661ac9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -3,4 +3,5 @@ Gilles Fabio Jannis Leidel Marc Abramowitz Michael van Tellingen -Mike Fogel \ No newline at end of file +Mike Fogel +Peter Bittner diff --git a/README.rst b/README.rst index c80f72c..faf46ed 100644 --- a/README.rst +++ b/README.rst @@ -32,6 +32,12 @@ Install django-configurations: pip install django-configurations +or, alternatively, if you want to use URL-based values: + +.. code-block:: console + + pip install django-configurations[cache,database,email,search] + Then subclass the included ``configurations.Configuration`` class in your project's **settings.py** or any other module you're using to store the settings constants, e.g.: diff --git a/setup.py b/setup.py index 06fd946..62ded85 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,12 @@ setup( 'django-cadmin = configurations.management:execute_from_command_line', ], }, + extras_require={ + 'cache': ['django-cache-url'], + 'database': ['dj-database-url'], + 'email': ['dj-email-url'], + 'search': ['dj-search-url'], + }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django',