amitu / importd

django based mini framework inspired from sinatra. fully compatible with django.
http://amitu.com/importd/
BSD 3-Clause "New" or "Revised" License
511 stars 30 forks source link

auto add env variables starting with D_, in upper case #59

Closed amitu closed 8 years ago

amitu commented 9 years ago

They can start with INT:/BOOL:/etc so they be casted to right type, else there value will be string. More complex values are not supported, eg dicts and tuples.

ghost commented 8 years ago

Fixed on Master, if the ENV variable starts with D_ it will be automagically added to globals.