from flask import Flask, request, render_template, abort from flask.ext.cache import Cache import re import os app = Flask(__name__) cache = Cache(app, config={'CACHE_TYPE': 'simple'}) app.app_cache = cache env = os.getenv('mm_env', 'production') if env == 'dev': app.debug = True app.jinja_env.globals.update({ 'env': env }) clients = [ { 'url': 'aol-makers', 'template': 'makers.html', 'image_path': 'makers', 'client': 'Aol', 'project': 'MAKERS', }, { 'url': 'galleray-app', 'template': 'galleray.html', 'image_path': 'galleray', 'client': 'Galleray', 'project': 'Application',