import os


if os.environ.get('DATABASE_URL') is None:
    SQLALCHEMY_DATABASE_URI = 'sqlite:///meetup.db'
else:
    SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']

SQLALCHEMY_TRACK_MODIFICATIONS = False  # supress deprecation warning

ACCESS_TOKEN = os.environ['ACCESS_TOKEN']
PAGE_ID = os.environ['PAGE_ID']
APP_ID = os.environ['APP_ID']
VERIFY_TOKEN = os.environ['VERIFY_TOKEN']

import os

SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
SQLALCHEMY_TRACK_MODIFICATIONS = False  # suppress deprecation warning

ACCESS_TOKEN = os.environ['ACCESS_TOKEN']
PAGE_ID = os.environ['PAGE_ID']
APP_ID = os.environ['APP_ID']
VERIFY_TOKEN = os.environ['VERIFY_TOKEN']

Remove automatic fallback to SQLite
Remove automatic fallback to SQLite

It's better to be explicit if there's no DATABASE_URL.

  import os
  
- 
- if os.environ.get('DATABASE_URL') is None:
-     SQLALCHEMY_DATABASE_URI = 'sqlite:///meetup.db'
- else:
-     SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
+ SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
- 
- SQLALCHEMY_TRACK_MODIFICATIONS = False  # supress deprecation warning
+ SQLALCHEMY_TRACK_MODIFICATIONS = False  # suppress deprecation warning
  
  ACCESS_TOKEN = os.environ['ACCESS_TOKEN']
  PAGE_ID = os.environ['PAGE_ID']
  APP_ID = os.environ['APP_ID']
  VERIFY_TOKEN = os.environ['VERIFY_TOKEN']
  
Remove automatic fallback to SQLite
## Code Before:
import os


if os.environ.get('DATABASE_URL') is None:
    SQLALCHEMY_DATABASE_URI = 'sqlite:///meetup.db'
else:
    SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']

SQLALCHEMY_TRACK_MODIFICATIONS = False  # supress deprecation warning

ACCESS_TOKEN = os.environ['ACCESS_TOKEN']
PAGE_ID = os.environ['PAGE_ID']
APP_ID = os.environ['APP_ID']
VERIFY_TOKEN = os.environ['VERIFY_TOKEN']

## Instruction:
Remove automatic fallback to SQLite
## Code After:
import os

SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
SQLALCHEMY_TRACK_MODIFICATIONS = False  # suppress deprecation warning

ACCESS_TOKEN = os.environ['ACCESS_TOKEN']
PAGE_ID = os.environ['PAGE_ID']
APP_ID = os.environ['APP_ID']
VERIFY_TOKEN = os.environ['VERIFY_TOKEN']
