Skip to content

Commit 6c58b28

Browse files
authored
Update README.md
1 parent 164928f commit 6c58b28

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

flask/README.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
# Flask vs Django
2-
3-
- Prefer Django security team
4-
- Prefer Django `request.user` to flask-login's `current_user` which is randomly available in all templates and can be imported and used at any time
5-
during the handling to obtain the user object that represents the client of the request. Flask has a `flask.request` object, but flask-login is not integrated.
6-
- Prefer Django requirements.txt (much shorter...) and more certainty that core dependencies will be maintained
7-
8-
- Prefer Flask/[Werkzug debug](https://werkzeug.palletsprojects.com/en/1.0.x/debug/) (with PIN) and opening an interactive python shell in any 'frame' within the browser traceback
9-
- SQLAlchemy is more powerful, and prefer Jinja2 due to reuse opportunities on non-Django/Flask projects
10-
1+
- Flask vs Django moved to mind/review/web_frameworks.md
112

123
# Environment
134

0 commit comments

Comments
 (0)