summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-10-27 19:05:20 -0500
committerMitsuo Tokumori <[email protected]>2023-10-27 19:05:20 -0500
commit87e6ced8ecd0ba54af1f67319fccf96c13ba6261 (patch)
treef132089f56a73cd799f98c800ab98b9e0a61ee5e /README.md
parent3d8f5d82738f27cdde78ba4bd0b07535c234f6db (diff)
downloadustayml-87e6ced8ecd0ba54af1f67319fccf96c13ba6261.tar.gz
ustayml-87e6ced8ecd0ba54af1f67319fccf96c13ba6261.tar.bz2
ustayml-87e6ced8ecd0ba54af1f67319fccf96c13ba6261.zip
Add authentication logic
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 17876c2..6433ba2 100644
--- a/README.md
+++ b/README.md
@@ -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