diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-19 23:44:54 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-19 23:44:54 +0200 |
| commit | 28a3abf96d010db8253b53933d6ab36c4dd412d9 (patch) | |
| tree | 6dbe43affed2727dd6494e281676bdf75677a59a /TODO | |
| parent | 402d756bf1e54236164643f2484e8fa9c78dc6d8 (diff) | |
| download | ihatemoney-mirror-28a3abf96d010db8253b53933d6ab36c4dd412d9.zip ihatemoney-mirror-28a3abf96d010db8253b53933d6ab36c4dd412d9.tar.gz ihatemoney-mirror-28a3abf96d010db8253b53933d6ab36c4dd412d9.tar.bz2 | |
No need anymore to pass the project_id to the urls.
The project is now directly added to the context local g object, and injected on the fly into the urls that need it.
This commits also add ideas found while reading the flask documentation. The project can be enhanced in many ways, some ideas are stated there.
Diffstat (limited to 'TODO')
| -rw-r--r-- | TODO | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +* use flask.instance_path to get/store configuration. See http://flask.pocoo.org/docs/config/#instance-folders +* Attach the current projec to g and modify the url_for to use it. http://flask.pocoo.org/docs/patterns/urlprocessors/ +* Use class based views to factorize the code if there is some code to factorize, see http://flask.pocoo.org/docs/views/ +* Use request.args.get('next') to redirect when authenticating +* Move the flask app to __init__.py (http://flask.pocoo.org/docs/patterns/packages/) +* Eventually move the url definition into a specific section +* Render templates automatically using a decorator. see http://stackoverflow.com/questions/7054099/using-flask-blueprint-for-some-static-pages/7056374#7056374 |
