Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(7)  |  Derive(0)  |  Import(9)

src/s/p/speedrack-0.6.1/speedrack/__init__.py   speedrack(Download)
        app.config[con.SECRET_KEY] = app.secret_key # looks in config rather than in global
        app.config['DEBUG_TB_TEMPLATE_EDITOR_ENABLED'] = True
        from flask.ext.debugtoolbar import DebugToolbarExtension
        DebugToolbarExtension(app) # returns the toolbar; we don't need it
 

src/f/l/flask-starter-HEAD/starter/__init__.py   flask-starter(Download)
# Debug toolbar
if app.config['DEBUG']:
    from flask.ext.debugtoolbar import DebugToolbarExtension as DTE
    toolbar = DTE(app)
 

src/f/l/flask-bigapp-template-HEAD/main.py   flask-bigapp-template(Download)
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.assets import Environment, Bundle
from flask.ext.debugtoolbar import DebugToolbarExtension
 
 
    config.db = SQLAlchemy(app)
    if app.debug:
        DebugToolbarExtension(app)
    #: Wrap the `app` with `Babel` for i18n.
    Babel(app)

src/f/l/flask-heroku-skeletor-HEAD/template/project_name/__init__.py   flask-heroku-skeletor(Download)
 
from flask import Flask, jsonify, render_template, request
from flask.ext.debugtoolbar import DebugToolbarExtension
from flask.ext.xuacompatible import XUACompatible
 
    def _init_extensions(self):
        """Initialize and configure Flask extensions with this application."""
        assets.init_app(self)
        db.init_app(self)
        DebugToolbarExtension(self)

src/a/b/abilian-core-0.1.4/abilian/app.py   abilian-core(Download)
        and 'debugtoolbar' not in self.blueprints):
      try:
        from flask.ext.debugtoolbar import DebugToolbarExtension, DebugToolbar
      except ImportError:
        logger.warning('DEBUG_TOOLBAR is on but flask.ext.debugtoolbar is not '
        except AttributeError:
          # debugtoolbar > 0.8.0
          dbt = DebugToolbarExtension()
          default_config = dbt._default_config(self)
          init_dbt = dbt.init_app

src/p/y/pybossa-HEAD/pybossa/extensions.py   pybossa(Download)
 
# Debug Toolbar
from flask.ext.debugtoolbar import DebugToolbarExtension
debug_toolbar = DebugToolbarExtension()
 

src/f/l/flaskbb-HEAD/flaskbb/extensions.py   flaskbb(Download)
from flask.ext.mail import Mail
from flask.ext.cache import Cache
from flask.ext.debugtoolbar import DebugToolbarExtension
from flask.ext.redis import Redis
from flask.ext.migrate import Migrate
 
# Debugtoolbar
debugtoolbar = DebugToolbarExtension()
 
# Migrations

src/a/u/Aurora-0.0.4/aurora_app/extensions.py   Aurora(Download)
login_manager = LoginManager()
 
from flask.ext.debugtoolbar import DebugToolbarExtension
debugtoolbar = DebugToolbarExtension
 

src/a/u/aurora-HEAD/aurora_app/extensions.py   aurora(Download)
login_manager = LoginManager()
 
from flask.ext.debugtoolbar import DebugToolbarExtension
debugtoolbar = DebugToolbarExtension