librelist archives

« back to archive

Flask-Configuration

Flask-Configuration

From:
Mauricio de Abreu Antunes
Date:
2013-09-03 @ 19:25
Hey friends,

Is they any flask extension to handle different configurations
(settings.py) for Flask like Django-Configuration [1]?

---

1 - https://github.com/jezdez/django-configurations

-- 

*Mauricio de Abreu Antunes*
Mobile: (51)930-74-525
Skype: mauricio.abreua

Re: [flask] Flask-Configuration

From:
Bruno Rocha
Date:
2013-09-03 @ 20:10
Flask already has some ways of config handling. In my opinion the Flask way
is better because you can have multiple config layers, and you  can update
it with simple Python dicts.

take a look: http://flask.pocoo.org/docs/config/


On Tue, Sep 3, 2013 at 4:25 PM, Mauricio de Abreu Antunes <
mauricio.abreua@gmail.com> wrote:

> Hey friends,
>
> Is they any flask extension to handle different configurations
> (settings.py) for Flask like Django-Configuration [1]?
>
> ---
>
> 1 - https://github.com/jezdez/django-configurations
>
> --
>
> *Mauricio de Abreu Antunes*
> Mobile: (51)930-74-525
> Skype: mauricio.abreua
>

Re: [flask] Flask-Configuration

From:
Mauricio de Abreu Antunes
Date:
2013-09-03 @ 20:36
I already use some configuration best practices. But I just saw
configuration by class inheritance which is the same Django-Configuration
does.

BTW, thanks.


2013/9/3 Bruno Rocha <rochacbruno@gmail.com>

> Flask already has some ways of config handling. In my opinion the Flask
> way is better because you can have multiple config layers, and you  can
> update it with simple Python dicts.
>
> take a look: http://flask.pocoo.org/docs/config/
>
>
> On Tue, Sep 3, 2013 at 4:25 PM, Mauricio de Abreu Antunes <
> mauricio.abreua@gmail.com> wrote:
>
>> Hey friends,
>>
>> Is they any flask extension to handle different configurations
>> (settings.py) for Flask like Django-Configuration [1]?
>>
>> ---
>>
>> 1 - https://github.com/jezdez/django-configurations
>>
>> --
>>
>> *Mauricio de Abreu Antunes*
>> Mobile: (51)930-74-525
>> Skype: mauricio.abreua
>>
>
>


-- 
*Mauricio de Abreu Antunes*
*
*
Github: https://github.com/mauricioabreu
Twitter: https://twitter.com/maugzoide