this is for miscellaneous files that should be served directly rather than being a page route
		
			
				
	
	
		
			37 lines
		
	
	
		
			821 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			821 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Default configuration."""
 | 
						|
 | 
						|
 | 
						|
class Config(object):
 | 
						|
    """Represent the default configuration.
 | 
						|
 | 
						|
    Reminder: this should be overwritten in the instance config.py, not here!
 | 
						|
    """
 | 
						|
 | 
						|
    DEBUG = False
 | 
						|
    TESTING = False
 | 
						|
 | 
						|
    LOGGING = {
 | 
						|
        'version': 1,
 | 
						|
        'formatters': {
 | 
						|
            'default': {
 | 
						|
                'format': '[%(asctime)s %(levelname)-7s %(name)s] %(message)s',
 | 
						|
            },
 | 
						|
        },
 | 
						|
        'handlers': {
 | 
						|
            'console': {
 | 
						|
                'level': 'DEBUG',
 | 
						|
                'class': 'logging.StreamHandler',
 | 
						|
                'formatter': 'default',
 | 
						|
            },
 | 
						|
        },
 | 
						|
        'loggers': {
 | 
						|
            '': {
 | 
						|
                'level': 'INFO',
 | 
						|
                'handlers': ['console'],
 | 
						|
            },
 | 
						|
        },
 | 
						|
    }
 | 
						|
 | 
						|
    TITLE_SUFFIX = 'incorporeal.org'
 | 
						|
    MEDIA_DIR = 'media'
 |