Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Commit 73acb27

Browse filesBrowse files
author
Kenneth Reitz
committed
v0.1.1
1 parent ab82f5a commit 73acb27
Copy full SHA for 73acb27

File tree

2 files changed

+7
-4
lines changed
Filter options

2 files changed

+7
-4
lines changed

‎flask_heroku.py

Copy file name to clipboardExpand all lines: flask_heroku.py
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ def __init__(self, app):
99
self.app = app
1010

1111
# SQL-Alchemy
12-
self.app.config['SQLALCHEMY_DATABASE_URI'] = environ.get('DATABASE_URL')
12+
self.app.config.setdefault('SQLALCHEMY_DATABASE_URI', environ.get('DATABASE_URL'))
1313

1414
# Sentry
15-
self.app.config['SENTRY_DSN'] = environ.get('SENTRY_DSN')
15+
self.app.config.setdefault('SENTRY_DSN', environ.get('SENTRY_DSN'))
1616

1717
# Exceptional
18-
self.app.config['EXCEPTIONAL_API_KEY'] = environ.get('EXCEPTIONAL_API_KEY')
18+
self.app.config.setdefault('EXCEPTIONAL_API_KEY', environ.get('EXCEPTIONAL_API_KEY'))
19+
20+
# Flask-GoogleFed
21+
self.app.config.setdefault('GOOGLE_DOMAIN', environ.get('GOOGLE_DOMAIN'))
1922

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name='flask-heroku',
14-
version='0.1.0',
14+
version='0.1.1',
1515
url='https://github.com/kennethreitz/flask-heroku',
1616
license='BSD',
1717
author='Kenneth Reitz',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.