diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-10-27 19:05:20 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-10-27 19:05:20 -0500 |
| commit | 87e6ced8ecd0ba54af1f67319fccf96c13ba6261 (patch) | |
| tree | f132089f56a73cd799f98c800ab98b9e0a61ee5e /README.md | |
| parent | 3d8f5d82738f27cdde78ba4bd0b07535c234f6db (diff) | |
| download | ustayml-87e6ced8ecd0ba54af1f67319fccf96c13ba6261.tar.gz ustayml-87e6ced8ecd0ba54af1f67319fccf96c13ba6261.tar.bz2 ustayml-87e6ced8ecd0ba54af1f67319fccf96c13ba6261.zip | |
Add authentication logic
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -24,4 +24,12 @@ Concepts: * flask.open_resource: From app package path * request: HTML request??? * Factory function > registered functions and blueprints. -* Blueprint > views & other code
\ No newline at end of file +* Blueprint: groups views & other code +* View: function that returns HTML +* flask.session: dict that stores data across requests (cookies) (securely + signed with SECRET_KEY) +* *endpoint*: name associated with a view, `<blueprint_name>.<view_function_name>` + +Gotchas: + +* Remember to call db.commit() after modifying DB (DML).
\ No newline at end of file |
