librelist archives

« back to archive

Blueprints and importing, why does this get no paths?

Blueprints and importing, why does this get no paths?

From:
Smartboy
Date:
2011-11-02 @ 05:08
Hello,

I am really wanting to use Flask for creating my site. I'm trying to keep
it modular so I can plug in and unplug certain parts as I please. So, I
came up with the solution of importing blueprints. Unfortuantely, after
adding the blueprints I get and running I get no paths working. Perhaps
someone can look at my code and tell me whats going on?

https://github.com/smartboyathome/SmartboysSite

Smartboy

Re: [flask] Blueprints and importing, why does this get no paths?

From:
Adam Patterson
Date:
2011-11-02 @ 05:48
Where are you actually calling `loadPlugins`?

On Wed, Nov 2, 2011 at 12:08 PM, Smartboy <smartboyathome@gmail.com> wrote:
> Hello,
>
> I am really wanting to use Flask for creating my site. I'm trying to keep it
> modular so I can plug in and unplug certain parts as I please. So, I came up
> with the solution of importing blueprints. Unfortuantely, after adding the
> blueprints I get and running I get no paths working. Perhaps someone can
> look at my code and tell me whats going on?
>
> https://github.com/smartboyathome/SmartboysSite
>
> Smartboy
>

Re: [flask] Blueprints and importing, why does this get no paths?

From:
Smartboy
Date:
2011-11-02 @ 06:44
On Tue, Nov 1, 2011 at 10:48 PM, Adam Patterson <fakeempire@gmail.com>wrote:

> Where are you actually calling `loadPlugins`?
>
> On Wed, Nov 2, 2011 at 12:08 PM, Smartboy <smartboyathome@gmail.com>
> wrote:
> > Hello,
> >
> > I am really wanting to use Flask for creating my site. I'm trying to
> keep it
> > modular so I can plug in and unplug certain parts as I please. So, I
> came up
> > with the solution of importing blueprints. Unfortuantely, after adding
> the
> > blueprints I get and running I get no paths working. Perhaps someone can
> > look at my code and tell me whats going on?
> >
> > https://github.com/smartboyathome/SmartboysSite
> >
> > Smartboy
> >
>

In KyurekiCMS.loadConfig().

Smartboy