ptl can not work with mysqldb

recently i'm working on quixote.
the default template for quixote is ptl. but if seem that ptl cannot work with mysqldb.

import MySQLdb
from quixote import enable_ptl
enable_ptl()

i don't know why maybe ptl can not work with egg.

so i switch to qpy, as fast as ptl, another template engine.

你可能感兴趣的:(mysqldb)