stub blueprints
This commit is contained in:
parent
21dbf5b8ac
commit
f169a93941
5 changed files with 33 additions and 0 deletions
7
games/game.py
Normal file
7
games/game.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from flask import Blueprint
|
||||||
|
|
||||||
|
game = Blueprint('games', __name__)
|
||||||
|
|
||||||
|
@game.route('/<int:game_id>')
|
||||||
|
def func():
|
||||||
|
pass
|
7
home/home.py
Normal file
7
home/home.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from flask import Blueprint
|
||||||
|
|
||||||
|
home = Blueprint('home', __name__)
|
||||||
|
|
||||||
|
@home.route('/home')
|
||||||
|
def func():
|
||||||
|
pass
|
|
@ -8,6 +8,7 @@ Jinja2==2.10.1
|
||||||
MarkupSafe==1.1.1
|
MarkupSafe==1.1.1
|
||||||
marshmallow==3.2.0
|
marshmallow==3.2.0
|
||||||
marshmallow-sqlalchemy==0.19.0
|
marshmallow-sqlalchemy==0.19.0
|
||||||
|
numpy==1.17.2
|
||||||
six==1.12.0
|
six==1.12.0
|
||||||
SQLAlchemy==1.3.8
|
SQLAlchemy==1.3.8
|
||||||
Werkzeug==0.16.0
|
Werkzeug==0.16.0
|
||||||
|
|
7
rooms/room.py
Normal file
7
rooms/room.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from flask import Blueprint
|
||||||
|
|
||||||
|
room = Blueprint('rooms', __name__)
|
||||||
|
|
||||||
|
@room.route('/<int:room_id>')
|
||||||
|
def func():
|
||||||
|
pass
|
11
users/user.py
Normal file
11
users/user.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
from flask import Blueprint
|
||||||
|
|
||||||
|
user = Blueprint('users', __name__)
|
||||||
|
|
||||||
|
@user.route('/<int:user_id>')
|
||||||
|
def func():
|
||||||
|
pass
|
||||||
|
|
||||||
|
@user.route('/<str:user_username>')
|
||||||
|
def func():
|
||||||
|
pass
|
Loading…
Reference in a new issue