Open ykessler opened 10 years ago
In the Getting Started example code
env = Environments(self.app)
Should be
env = Environments(app)
(Thanks, great project!)
+1
this is also at front page examples
from flask import Flask from flask_environments import Environments app = Flask(__name__) env = Environments(self.app, var_name='CUSTOM_VAR_NAME', default_env='CUSTOM_ENV')
In the Getting Started example code
Should be
(Thanks, great project!)