Dear all,
Recently, I have developed a plugin system for my app, and I want to
register those plugins when my app boot up, this need to execute some
user defined codes (functions) in app boot procedure, I don't know
where insert my registering codes to, anyone can help?
Thank you.
--
You receiv
Dear all,
I have developed a CMS, which containing a dynamic menu. Because menu
should be displayed on every page of my site, I need to write the menu
variable into every view function against every page template, this is
very boring...
So is there some method to implement applying custom variabl
> Pylons, an entry defined by Paster "app_factory"
>
> > > You can see an example there:
> >http://packages.python.org/twod.wsgi/manual/paste-factory.html#using-...
>
> > > mathieu
>
> > > On Tue, Aug 17, 2010 at 2:45 PM, Emily Rodgers <
> &g
gistered when app boot up.
Do you understand my meaning? Welcome suggestion.
On 8月17日, 下午8时45分, Emily Rodgers wrote:
> On Aug 17, 2:26 am, Tang Daogang wrote:
>
> > Dear all,
>
> > Recently, I have developed a plugin system for my app, and I want to
> > register those pl
se this guy is using
> something that have bean used from time to time in the Pylons world where
> this kind of use case is perfectly solvable.
>
> 2010/8/18 Richard Colley
>
>
>
> > Why not call your "boot" code from settings.py?
>
> > On Aug 18, 4:0
Sounds good idea. I'll try it.
On 8月18日, 下午3时04分, Richard Colley wrote:
> Why not call your "boot" code from settings.py?
>
> On Aug 18, 4:05 pm, Tang Daogang wrote:
>
>
>
> > hi, Emily,
>
> > Let me introduce Scala/Lift as example.
>
> &g
, please come back and ask again.
>
> Em
>
> On Aug 18, 7:05 am, Tang Daogang wrote:
>
>
>
> > hi, Emily,
>
> > Let me introduce Scala/Lift as example.
>
> > Every lift project has a file named 'Boot.scala', this file will only
> > be e
, please come back and ask again.
>
> Em
>
> On Aug 18, 7:05 am, Tang Daogang wrote:
>
>
>
> > hi, Emily,
>
> > Let me introduce Scala/Lift as example.
>
> > Every lift project has a file named 'Boot.scala', this file will only
> > be e
l
> > advice.
>
> > If his link below helps you fix what you are trying to do, please let
> > us know what you did (this is really useful for others with the same
> > problem), and if not, please come back and ask again.
>
> > Em
>
> > On Aug 18, 7:05 a
I know are 'settings.py',
'models.py', urls.py', 'admin.py'. I will dive into it now. If you
have any matierials or advices on it, please share them to me.
Later I will give out my code here.
Thank you.
On 8月18日, 下午10时24分, Daniel Roseman wrote:
> On Aug 18
10 matches
Mail list logo