File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ environment settings, a mix of either)
3838In your main flask app, inside create_app
3939
4040```
41- from flask Flask
41+ from flask import Flask
42+ import os
4243
4344from flask_saas import Flask_SaaS
4445
@@ -77,7 +78,7 @@ your existing flask application. This makes `flask_saas` flexibily and (hopefull
7778eaiser to integrate with your existing application/database or object store.
7879
7980For example, to implement ` get_stripe_secret_key ` , if your flask application stores
80- your Stripe key as an envrionment variable called ` STRIPE_SECRET_KEY ` , then you might write:
81+ your Stripe key as an envrionment variable called ` STRIPE_SECRET_KEY ` , then you might write(Before Flask_Saas) :
8182
8283```
8384def get_stripe_secret_key():
You can’t perform that action at this time.
0 commit comments