pallets-eco / flask-environments

Environment tools and configuration for Flask applications
MIT License
30 stars 15 forks source link

Add better name matching for python class level configs #4

Closed platinummonkey closed 4 years ago

platinummonkey commented 10 years ago

Added BaseConfig class from which to subclass from, this is required for inspect predicate to match. This can still be subclass from an "Application" or "Project-level" Base Config class just fine.

Added one more sane default possible name: self.env.upper()

Updated docs and fixed typos