def get_fileservice_dir():
    """
    example settings file
    FILESERVICE_CONFIG = {
        'store_dir': '/var/lib/geoserver_data/fileservice_store'
    }
    """
    conf = getattr(settings, 'FILESERVICE_CONFIG', {})
    dir = conf.get('store_dir', './fileservice_store')
    return os.path.normpath(dir) + os.sep