# coding: utf-8

ASSETS = {
    'debug': False,
    'media_url': '/',
}


def configure(data):
    ASSETS.update(data)

# coding: utf-8

ASSETS = {
    'debug': False,
    'media_url': '/',
}


def configure(data=None):
    if data:
        ASSETS.update(data)
    return ASSETS

Return config when calling configure def
Return config when calling configure def
