Sfoglia il codice sorgente

Fix flask-mako registering.

pull/24/head
Ben Kurtovic 10 anni fa
parent
commit
f25f963d22
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      app.fcgi

+ 2
- 1
app.fcgi Vedi File

@@ -6,10 +6,11 @@ from logging import DEBUG
from logging.handlers import TimedRotatingFileHandler

from flask import Flask, request
from flask.ext.mako import render_template
from flask.ext.mako import MakoTemplates, render_template
from flup.server.fcgi import WSGIServer

app = Flask(__name__)
MakoTemplates(app)

app.logger.setLevel(DEBUG)
app.logger.addHandler(TimedRotatingFileHandler("logs/app.log", when="D",


Caricamento…
Annulla
Salva