Skip to content

Commit

Permalink
Fixes #16: Update FAQ with new python-decouple behaviour
Browse files Browse the repository at this point in the history
Update FAQ with new python-decouple behaviour:

* remove lookup order table that is the same on both projects
* add an information about extensibility and flexibility of prettyconf
  implementation
  • Loading branch information
osantana committed Feb 1, 2016
1 parent 2897461 commit ef0526d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,8 @@ What is the difference between prettyconf and python-decouple_?
There is no subtantial difference between both libraries. ``prettyconf`` is
highly inspired in ``python-decouple`` and provides almost the same API.

There is a small difference in configuration lookup order::

+---------------+-----------------+---------------------+
| Lookup Order | prettyconf | python-decouple |
+---------------+-----------------+---------------------+
| 1 | ENVVAR | .env |
| 2 | .env | settings.ini |
| 3 | *.cfg or *.ini | ENVVAR |
+---------------+-----------------+---------------------+

The implementation of ``prettyconf`` is more extensible and flexible to make
behaviour configurations easier.

Why you created a library similar to python-decouple instead of use it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit ef0526d

Please sign in to comment.