Skip to content

Commit df16b30

Browse files
committed
update appendix readme
1 parent 6b65f11 commit df16b30

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

appendix/application/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# appendix
2+
3+
要望をいただきましたので、ユーザ登録機能およびユーザモデルの追加について本付録にて収録いたしました。
4+
5+
- 追加した箇所
6+
- User modelの追加
7+
- パスワードのbcrypによるhash化
8+
- 新規登録機能の追加
9+
- Userに紐付いた記事のCRUD
10+
- 不正操作のチェック(他人の記事の操作)
11+
12+
- 以下は未実装ですので、応用として実装してみていただければと思います。
13+
- sessionの秘匿化
14+
- ユーザの編集・削除
15+
- 不正操作のチェックのDecorator化
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
SQLALCHEMY_DATABASE_URI = 'sqlite:///flask_blog.db'
22
SQLALCHEMY_TRACK_MODIFICATIONS = True
33
DEBUG = True
4-
SECRET_KEY = 'secret key'
5-
USERNAME = 'john'
6-
PASSWORD = 'due123'
4+
SECRET_KEY = 'secret key'

0 commit comments

Comments
 (0)