librelist archives

« back to archive

ANN: Flask-Admin 0.1

ANN: Flask-Admin 0.1

From:
Andy Wilson
Date:
2011-07-11 @ 03:01
Hi everybody.

I've released the initial version of Flask-Admin, a Flask extension module
that can generate blueprints for adding/editing/deleting instances of
database models. Flask-Admin requires Flask 0.7 or above.


Features:
- Automatically generates forms for adding and editing database models
including select fields for defined relationships
- Generates list, add, edit, and delete views
- Fairly easy to customize any part of the interface (by overriding
templates, static files, and generated forms)


Some current limitations:
- Only supports SQLAlchemy declarative models (including Flask-SQLAlchemy
models)
- Doesn't support some SQLAlchemy features, like multi-column primary keys


On PyPI:   http://pypi.python.org/pypi/Flask-Admin/0.1
On Github:  https://github.com/wilsaj/flask-admin


Feedback is greatly appreciated (patches/pull requests, too)!

-andy

Re: [flask] ANN: Flask-Admin 0.1

From:
Giovanni Giorgi
Date:
2011-07-11 @ 16:02
It is like the django  auto-generating admin interface?
Cool!

On 11/lug/2011, at 05.01, Andy Wilson wrote:

> 
> Hi everybody.
> 
> I've released the initial version of Flask-Admin, a Flask extension 
module that can generate blueprints for adding/editing/deleting instances 
of database models. Flask-Admin requires Flask 0.7 or above.
> 
> 
> Features:
> - Automatically generates forms for adding and editing database models 
including select fields for defined relationships
> - Generates list, add, edit, and delete views 
> - Fairly easy to customize any part of the interface (by overriding 
templates, static files, and generated forms)
> 
> 
> Some current limitations:
> - Only supports SQLAlchemy declarative models (including 
Flask-SQLAlchemy models)
> - Doesn't support some SQLAlchemy features, like multi-column primary keys
> 
> 
> On PyPI:   http://pypi.python.org/pypi/Flask-Admin/0.1
> On Github:  https://github.com/wilsaj/flask-admin
> 
> 
> Feedback is greatly appreciated (patches/pull requests, too)!
> 
> -andy

--
(\__/)
(='.'=)
(")_(")

Giovanni Giorgi
jj@gioorgi.com





Re: [flask] ANN: Flask-Admin 0.1

From:
Andy Wilson
Date:
2011-07-11 @ 16:38
Yep. The Django admin is the primary influence and the idea is to provide
something comparable in Flask, though Flask-Admin isn't really on the same
level... yet.



On Mon, Jul 11, 2011 at 11:02 AM, Giovanni Giorgi <jj@gioorgi.com> wrote:

> It is like the django  auto-generating admin interface?
> Cool!
>
> On 11/lug/2011, at 05.01, Andy Wilson wrote:
>
>
> Hi everybody.
>
> I've released the initial version of Flask-Admin, a Flask extension module
> that can generate blueprints for adding/editing/deleting instances of
> database models. Flask-Admin requires Flask 0.7 or above.
>
>
> Features:
> - Automatically generates forms for adding and editing database models
> including select fields for defined relationships
> - Generates list, add, edit, and delete views
> - Fairly easy to customize any part of the interface (by overriding
> templates, static files, and generated forms)
>
>
> Some current limitations:
> - Only supports SQLAlchemy declarative models (including Flask-SQLAlchemy
> models)
> - Doesn't support some SQLAlchemy features, like multi-column primary keys
>
>
> On PyPI:   http://pypi.python.org/pypi/Flask-Admin/0.1
> On Github:  https://github.com/wilsaj/flask-admin
>
>
> Feedback is greatly appreciated (patches/pull requests, too)!
>
> -andy
>
>
>  --
> (\__/)
> (='.'=)
> (")_(")
>
> Giovanni Giorgi
> jj@gioorgi.com
>
>
>
>
>
>
>

Re: [flask] ANN: Flask-Admin 0.1

From:
Giovanni Giorgi
Date:
2011-07-12 @ 10:08
Hi, some comments:
 + The sql alchemy example is very good, but the opening documentation is a
     bit confusing.
    I am new to Flask, but I was unable to find the scoped_session method
    and there aren't the required imports.
 + Default admin colors are a bit too "gray". I will suggest you at least
colored buttons and  a less black heading for the entities (it is barely
readbale).
 + The "fork me Ribbon" on to documentation is broken (404 error)

Said that, it is very cool and works great!

On Mon, July 11, 2011 6:38 pm, Andy Wilson wrote:
> Yep. The Django admin is the primary influence and the idea is to provide
> something comparable in Flask, though Flask-Admin isn't really on the same
> level... yet.
>
>
>
> On Mon, Jul 11, 2011 at 11:02 AM, Giovanni Giorgi <jj@gioorgi.com> wrote:
>
>> It is like the django  auto-generating admin interface?
>> Cool!
>>
>> On 11/lug/2011, at 05.01, Andy Wilson wrote:
>>
>>
>> Hi everybody.
>>
>> I've released the initial version of Flask-Admin, a Flask extension
>> module
>> that can generate blueprints for adding/editing/deleting instances of
>> database models. Flask-Admin requires Flask 0.7 or above.
>>
>>
>> Features:
>> - Automatically generates forms for adding and editing database models
>> including select fields for defined relationships
>> - Generates list, add, edit, and delete views
>> - Fairly easy to customize any part of the interface (by overriding
>> templates, static files, and generated forms)
>>
>>
>> Some current limitations:
>> - Only supports SQLAlchemy declarative models (including
>> Flask-SQLAlchemy
>> models)
>> - Doesn't support some SQLAlchemy features, like multi-column primary
>> keys
>>
>>
>> On PyPI:   http://pypi.python.org/pypi/Flask-Admin/0.1
>> On Github:  https://github.com/wilsaj/flask-admin
>>
>>
>> Feedback is greatly appreciated (patches/pull requests, too)!
>>
>> -andy
>>
>>
>>  --
>> (\__/)
>> (='.'=)
>> (")_(")
>>
>> Giovanni Giorgi
>> jj@gioorgi.com
>>
>>
>>
>>
>>
>>
>>
>


-- 
Senior Consultant
http://gioorgi.com

Re: [flask] ANN: Flask-Admin 0.1

From:
Andy Wilson
Date:
2011-07-12 @ 15:38
On Tue, Jul 12, 2011 at 5:08 AM, Giovanni Giorgi <jj@gioorgi.com> wrote:

> Hi, some comments:
>  + The sql alchemy example is very good, but the opening documentation is a
>     bit confusing.
>    I am new to Flask, but I was unable to find the scoped_session method
>    and there aren't the required imports.
>

Good point. I've added imports to the examples.



>  + Default admin colors are a bit too "gray". I will suggest you at least
> colored buttons and  a less black heading for the entities (it is barely
> readbale).
>

These are good suggestions - I'll keep these in mind next time I get a
chance to work on the default design.



>  + The "fork me Ribbon" on to documentation is broken (404 error)
>

Fixed.



> Said that, it is very cool and works great!


Thanks. I appreciate your comments.