import os

from flask import Flask
from flask.ext.assets import Bundle, Environment

app = Flask(__name__)

# Load the app config
app.config.from_object("config.Config")

assets = Environment(app)

assets.load_path = [
    os.path.join(os.path.dirname(__file__), 'static'),
    os.path.join(os.path.dirname(__file__), 'static', 'bower_components')
]

assets.register(
    'js_all',
    Bundle(
        'jquery/dist/jquery.min.js',
        'bootstrap/dist/js/bootstrap.min.js',
        output='js_all.js'
    )
)

assets.register(
    'css_all',
    Bundle(
        'bootstrap/dist/css/bootstrap.css',
        'bootstrap/dist/css/bootstrap-theme.css',
        'css/ignition.css',
        output='css_all.css'
    )
)

from manager.views import core
import os

from flask import Flask
from flask.ext.assets import Bundle, Environment

app = Flask(__name__)

# Load the app config
app.config.from_object("config.Config")

assets = Environment(app)

assets.load_path = [
    os.path.join(os.path.dirname(__file__), 'static'),
    os.path.join(os.path.dirname(__file__), 'static', 'bower_components')
]

assets.register(
    'js_all',
    Bundle(
        'jquery/dist/jquery.min.js',
        'bootstrap/dist/js/bootstrap.min.js',
        output='js_all.js'
    )
)

assets.register(
    'css_all',
    Bundle(
        'bootswatch/sandstone/bootstrap.css',
        'css/ignition.css',
        output='css_all.css'
    )
)

from manager.views import core
Change theme to sandstone (bootswatch)
Change theme to sandstone (bootswatch)

  import os
  
  from flask import Flask
  from flask.ext.assets import Bundle, Environment
  
  app = Flask(__name__)
  
  # Load the app config
  app.config.from_object("config.Config")
  
  assets = Environment(app)
  
  assets.load_path = [
      os.path.join(os.path.dirname(__file__), 'static'),
      os.path.join(os.path.dirname(__file__), 'static', 'bower_components')
  ]
  
  assets.register(
      'js_all',
      Bundle(
          'jquery/dist/jquery.min.js',
          'bootstrap/dist/js/bootstrap.min.js',
          output='js_all.js'
      )
  )
  
  assets.register(
      'css_all',
      Bundle(
-         'bootstrap/dist/css/bootstrap.css',
+         'bootswatch/sandstone/bootstrap.css',
-         'bootstrap/dist/css/bootstrap-theme.css',
          'css/ignition.css',
          output='css_all.css'
      )
  )
  
  from manager.views import core
Change theme to sandstone (bootswatch)
## Code Before:
import os

from flask import Flask
from flask.ext.assets import Bundle, Environment

app = Flask(__name__)

# Load the app config
app.config.from_object("config.Config")

assets = Environment(app)

assets.load_path = [
    os.path.join(os.path.dirname(__file__), 'static'),
    os.path.join(os.path.dirname(__file__), 'static', 'bower_components')
]

assets.register(
    'js_all',
    Bundle(
        'jquery/dist/jquery.min.js',
        'bootstrap/dist/js/bootstrap.min.js',
        output='js_all.js'
    )
)

assets.register(
    'css_all',
    Bundle(
        'bootstrap/dist/css/bootstrap.css',
        'bootstrap/dist/css/bootstrap-theme.css',
        'css/ignition.css',
        output='css_all.css'
    )
)

from manager.views import core
## Instruction:
Change theme to sandstone (bootswatch)
## Code After:
import os

from flask import Flask
from flask.ext.assets import Bundle, Environment

app = Flask(__name__)

# Load the app config
app.config.from_object("config.Config")

assets = Environment(app)

assets.load_path = [
    os.path.join(os.path.dirname(__file__), 'static'),
    os.path.join(os.path.dirname(__file__), 'static', 'bower_components')
]

assets.register(
    'js_all',
    Bundle(
        'jquery/dist/jquery.min.js',
        'bootstrap/dist/js/bootstrap.min.js',
        output='js_all.js'
    )
)

assets.register(
    'css_all',
    Bundle(
        'bootswatch/sandstone/bootstrap.css',
        'css/ignition.css',
        output='css_all.css'
    )
)

from manager.views import core