librelist archives

« back to archive

Simple Flask CRUD app

Simple Flask CRUD app

From:
Alex
Date:
2011-05-24 @ 07:33
HI.

Maybe it's a stupid question but... there is a simple example of a
Flask CRUD app? I just would like to see which are the best practices
in this context.

Alex

Re: [flask] Simple Flask CRUD app

From:
Wilson Xu
Date:
2011-05-24 @ 09:08
flaskr (https://github.com/mitsuhiko/flask/tree/master/examples/flaskr/)
manipulates CRUD with raw sqls.

If you are looking for something more elegant, check out sqlalchemy. (
http://flask.pocoo.org/docs/patterns/sqlalchemy/)

On Tue, May 24, 2011 at 3:33 PM, Alex <thinkpragmatic@gmail.com> wrote:

> HI.
>
> Maybe it's a stupid question but... there is a simple example of a
> Flask CRUD app? I just would like to see which are the best practices
> in this context.
>
> Alex
>



-- 
Think and code - imwilsonxu.net

Re: [flask] Simple Flask CRUD app

From:
Alex
Date:
2011-05-24 @ 08:47
May you want the Flaskr project.It is in the Flask's tutorial.

2011/5/24 Alex <thinkpragmatic@gmail.com>

> HI.
>
> Maybe it's a stupid question but... there is a simple example of a
> Flask CRUD app? I just would like to see which are the best practices
> in this context.
>
> Alex
>