import os
basedir = os.path.abspath(os.path.dirname(__file__))


class Config:
    SECRET_KEY = 'f63f65a3f7274455bfd49edf9c6b36bd'
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True

    @staticmethod
    def init_app(app):
        pass


class DevelopmentConfig(Config):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
                                                          'weather.sqlite')


config = {
    'default': DevelopmentConfig
}

import os
basedir = os.path.abspath(os.path.dirname(__file__))


class Config:
    SECRET_KEY = 'f63f65a3f7274455bfd49edf9c6b36bd'
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    SQLALCHEMY_TRACK_MODIFICATIONS = False

    @staticmethod
    def init_app(app):
        pass


class DevelopmentConfig(Config):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
                                                          'weather.sqlite')


config = {
    'default': DevelopmentConfig
}

Add SQLALCHEMY_TRACK_MODIFICATION to supress warnings
Add SQLALCHEMY_TRACK_MODIFICATION to supress warnings
