librelist archives

« back to archive

ANN: Flask-Admin 1.x

ANN: Flask-Admin 1.x

From:
Andy Wilson
Date:
2012-05-03 @ 16:42
Hi everybody.

Some huge news in the Admin-Extensions-for-Flask world...

What was previously known as Flask-AdminEx is now Flask-Admin 1.x and Serge
Koval is now the owner/maintainer of Flask-Admin.

Flask-Admin 1.x is seriously awesome, go check it out!


Note: Flask-Admin 1.x is NOT backwards compatible so if you need to use the
old-school Flask-Admin, just grab it from PyPI by specifying the version:
    pip install "Flask-Admin<1.0"


Cheers!
-andy

Re: [flask] ANN: Flask-Admin 1.x

From:
David
Date:
2012-05-03 @ 18:34
Looks interesting,

although pip install Flask-Admin landed me this

IOError: [Errno 2] No such file or directory: 'build/flask-admin/README.rst'

I checked my build dir, the README is not there.



On 5/3/12 12:42 PM, Andy Wilson wrote:
>
> Hi everybody.
>
> Some huge news in the Admin-Extensions-for-Flask world...
>
> What was previously known as Flask-AdminEx is now Flask-Admin 1.x and 
> Serge Koval is now the owner/maintainer of Flask-Admin.
>
> Flask-Admin 1.x is seriously awesome, go check it out!
>
>
> Note: Flask-Admin 1.x is NOT backwards compatible so if you need to 
> use the old-school Flask-Admin, just grab it from PyPI by specifying 
> the version:
>     pip install "Flask-Admin<1.0"
>
>
> Cheers!
> -andy

Re: [flask] ANN: Flask-Admin 1.x

From:
Serge S. Koval
Date:
2012-05-03 @ 18:59
Ah, thanks for report. Uploaded 1.0.1 which fixed the issue.

Serge.

On Thu, May 3, 2012 at 9:34 PM, David <david@styleflare.com> wrote:
> Looks interesting,
>
> although pip install Flask-Admin landed me this
>
> IOError: [Errno 2] No such file or directory: 'build/flask-admin/README.rst'
>
> I checked my build dir, the README is not there.
>
>
>
> On 5/3/12 12:42 PM, Andy Wilson wrote:
>>
>> Hi everybody.
>>
>> Some huge news in the Admin-Extensions-for-Flask world...
>>
>> What was previously known as Flask-AdminEx is now Flask-Admin 1.x and
>> Serge Koval is now the owner/maintainer of Flask-Admin.
>>
>> Flask-Admin 1.x is seriously awesome, go check it out!
>>
>>
>> Note: Flask-Admin 1.x is NOT backwards compatible so if you need to
>> use the old-school Flask-Admin, just grab it from PyPI by specifying
>> the version:
>>     pip install "Flask-Admin<1.0"
>>
>>
>> Cheers!
>> -andy
>

Re: [flask] ANN: Flask-Admin 1.x

From:
Delilah Parks
Date:
2012-05-03 @ 18:45
Does it work with Mongodb?

On Thu, May 3, 2012 at 12:42 PM, Andy Wilson <wilson.andrew.j@gmail.com>wrote:

>
> Hi everybody.
>
> Some huge news in the Admin-Extensions-for-Flask world...
>
> What was previously known as Flask-AdminEx is now Flask-Admin 1.x and
> Serge Koval is now the owner/maintainer of Flask-Admin.
>
> Flask-Admin 1.x is seriously awesome, go check it out!
>
>
> Note: Flask-Admin 1.x is NOT backwards compatible so if you need to use
> the old-school Flask-Admin, just grab it from PyPI by specifying the
> version:
>     pip install "Flask-Admin<1.0"
>
>
> Cheers!
> -andy
>

Re: [flask] ANN: Flask-Admin 1.x

From:
Serge S. Koval
Date:
2012-05-03 @ 19:00
No, not yet, but it can be implemented :-)

Serge.

On Thu, May 3, 2012 at 9:45 PM, Delilah Parks <delilahtp@gmail.com> wrote:
> Does it work with Mongodb?

Re: [flask] ANN: Flask-Admin 1.x

From:
Sean Lynch
Date:
2012-05-03 @ 19:16
Google App Engine would be nice too.  I might try to spend some time on
that in the not-so-near-future.  I'm currently rewriting an app using
twitter bootstrap for the UI, and already have my own admin interface, but
it would be nice to be more backend agnostic in the future (especially when
Google's CloudSql gets released and offers more options).

On Thu, May 3, 2012 at 3:00 PM, Serge S. Koval <serge.koval@gmail.com>wrote:

> No, not yet, but it can be implemented :-)
>
> Serge.
>
> On Thu, May 3, 2012 at 9:45 PM, Delilah Parks <delilahtp@gmail.com> wrote:
> > Does it work with Mongodb?
>

Re: [flask] ANN: Flask-Admin 1.x

From:
Jonathan Chen
Date:
2012-05-03 @ 21:21
Is there documentation for adding backends to it? So that we can push that
along.

~Jonathan C.


On Thu, May 3, 2012 at 12:16 PM, Sean Lynch <techniq35@gmail.com> wrote:

> Google App Engine would be nice too.  I might try to spend some time on
> that in the not-so-near-future.  I'm currently rewriting an app using
> twitter bootstrap for the UI, and already have my own admin interface, but
> it would be nice to be more backend agnostic in the future (especially when
> Google's CloudSql gets released and offers more options).
>
>
> On Thu, May 3, 2012 at 3:00 PM, Serge S. Koval <serge.koval@gmail.com>wrote:
>
>> No, not yet, but it can be implemented :-)
>>
>> Serge.
>>
>> On Thu, May 3, 2012 at 9:45 PM, Delilah Parks <delilahtp@gmail.com>
>> wrote:
>> > Does it work with Mongodb?
>>
>
>

Re: [flask] ANN: Flask-Admin 1.x

From:
Serge S. Koval
Date:
2012-05-03 @ 21:24
There is, sort of:
http://flask-admin.readthedocs.org/en/latest/model_guidelines/

But, I'm not sure that it is complete enough, so it is also good idea
to check sources.

Serge.

On Fri, May 4, 2012 at 12:21 AM, Jonathan Chen <tamasiaina@gmail.com> wrote:
> Is there documentation for adding backends to it? So that we can push that
> along.
>
> ~Jonathan C.

Re: [flask] ANN: Flask-Admin 1.x

From:
Cory Forsyth
Date:
2012-05-09 @ 20:31
Is it possible to specify a field as not being required?
I am using flask-admin to show an edit form for a sqlalchemy model
(I'm using ModelView). The model in question has a sqlalchemy
many-to-many relationship, so in my edit form I see a select field
with multiple options allowed. If I deselect all of the choices and
click submit I get an error saying "this field is required".  Is it
possible to remove that option, and/or even add the ability to show an
empty choice in the multiselect box so that it's easy to select no
options?

thanks,
-Cory

On Thu, May 3, 2012 at 5:24 PM, Serge S. Koval <serge.koval@gmail.com> wrote:
> There is, sort of:
> http://flask-admin.readthedocs.org/en/latest/model_guidelines/
>
> But, I'm not sure that it is complete enough, so it is also good idea
> to check sources.
>
> Serge.
>
> On Fri, May 4, 2012 at 12:21 AM, Jonathan Chen <tamasiaina@gmail.com> wrote:
>> Is there documentation for adding backends to it? So that we can push that
>> along.
>>
>> ~Jonathan C.

Re: [flask] ANN: Flask-Admin 1.x

From:
Serge S. Koval
Date:
2012-05-10 @ 06:56
Hi,

Check here:


http://flask-admin.readthedocs.org/en/latest/mod_model/#flask.ext.admin.model.BaseModelView.excluded_form_columns


Serge.

On Wed, May 9, 2012 at 11:31 PM, Cory Forsyth <cory@happify.com> wrote:

> Is it possible to specify a field as not being required?
> I am using flask-admin to show an edit form for a sqlalchemy model
> (I'm using ModelView). The model in question has a sqlalchemy
> many-to-many relationship, so in my edit form I see a select field
> with multiple options allowed. If I deselect all of the choices and
> click submit I get an error saying "this field is required".  Is it
> possible to remove that option, and/or even add the ability to show an
> empty choice in the multiselect box so that it's easy to select no
> options?
>
> thanks,
> -Cory

Re: [flask] ANN: Flask-Admin 1.x

From:
Cory Forsyth
Date:
2012-05-10 @ 14:37
It's not that I want to exclude any particular columns, it's that I
have a column representing a many-to-many relationship on the model,
and I want someone to be able to unselect everything from that
multiselect box and then submit it, so that the model now has 0 of the
associated many-to-many relationship.  Right now if I unselect them
(by holding down command and clicking on each one), when I submit I
get a validation error telling me that field is required.

thanks,
C

On Thu, May 10, 2012 at 2:56 AM, Serge S. Koval <serge.koval@gmail.com> wrote:
> Hi,
>
> Check here:
>
> 
http://flask-admin.readthedocs.org/en/latest/mod_model/#flask.ext.admin.model.BaseModelView.excluded_form_columns
>
> Serge.
>
>
> On Wed, May 9, 2012 at 11:31 PM, Cory Forsyth <cory@happify.com> wrote:
>>
>> Is it possible to specify a field as not being required?
>> I am using flask-admin to show an edit form for a sqlalchemy model
>> (I'm using ModelView). The model in question has a sqlalchemy
>> many-to-many relationship, so in my edit form I see a select field
>> with multiple options allowed. If I deselect all of the choices and
>> click submit I get an error saying "this field is required".  Is it
>> possible to remove that option, and/or even add the ability to show an
>> empty choice in the multiselect box so that it's easy to select no
>> options?
>>
>> thanks,
>> -Cory

Re: [flask] ANN: Flask-Admin 1.x

From:
Serge S. Koval
Date:
2012-05-10 @ 15:30
I see, need to check how WTF generates this control.

I'll fill a bug to not forget about it.

Serge.

On Thu, May 10, 2012 at 5:37 PM, Cory Forsyth <cory@happify.com> wrote:

> It's not that I want to exclude any particular columns, it's that I
> have a column representing a many-to-many relationship on the model,
> and I want someone to be able to unselect everything from that
> multiselect box and then submit it, so that the model now has 0 of the
> associated many-to-many relationship.  Right now if I unselect them
> (by holding down command and clicking on each one), when I submit I
> get a validation error telling me that field is required.
>

Re: [flask] ANN: Flask-Admin 1.x

From:
Brice Leroy
Date:
2012-05-03 @ 16:48
Ho man, that look awesome! Can't wait to start playing with that :)

Many thanks to Serge!

2012/5/3 Andy Wilson <wilson.andrew.j@gmail.com>

>
> Hi everybody.
>
> Some huge news in the Admin-Extensions-for-Flask world...
>
> What was previously known as Flask-AdminEx is now Flask-Admin 1.x and
> Serge Koval is now the owner/maintainer of Flask-Admin.
>
> Flask-Admin 1.x is seriously awesome, go check it out!
>
>
> Note: Flask-Admin 1.x is NOT backwards compatible so if you need to use
> the old-school Flask-Admin, just grab it from PyPI by specifying the
> version:
>     pip install "Flask-Admin<1.0"
>
>
> Cheers!
> -andy
>



-- 
blog: http://www.debrice.com
Time tracking tool: http://alpha.kaaloo.com
Django site generator: http://alpha.djangogenerator.com
linkedin: http://www.linkedin.com/in/bricepleroy