mirror of
https://github.com/wassname/flask-bootstrap.git
synced 2026-06-26 16:00:09 +08:00
Updated bootstrap to 2.2.1 and jquery to 1.82
This commit is contained in:
@@ -9,7 +9,7 @@ DEBUG = True
|
||||
# Simple way to generate a random secret key:
|
||||
#
|
||||
# python -c "print repr(__import__('os').urandom(40))"
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql://user:password@127.0.0.1/app'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql://eric:kfdasferuiawohnjlkasdfjkl@127.0.0.1/app'
|
||||
SECRET_KEY = 'kfdasferuiawohnjlkasdfjkl'
|
||||
TITLE = 'app'
|
||||
SUBTITLE = 'A Flask Template with Bootstrap'
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from flask import Flask, request, jsonify, make_response, render_template, flash, redirect, url_for, session, escape, g
|
||||
from models.database import db_session
|
||||
from flaskext.sqlalchemy import SQLAlchemy
|
||||
from flaskext.auth import Auth, AuthUser, login_required, logout
|
||||
from flask.ext.sqlalchemy import SQLAlchemy
|
||||
from flask.ext.auth import Auth, AuthUser, login_required, logout
|
||||
from models.sa import get_user_class
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
+9
-4
File diff suppressed because one or more lines are too long
Vendored
+9
-652
File diff suppressed because one or more lines are too long
Vendored
+6
-1
File diff suppressed because one or more lines are too long
Vendored
-8981
File diff suppressed because it is too large
Load Diff
Vendored
-18
File diff suppressed because one or more lines are too long
Vendored
+9440
-4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user