Where to put initializing code

2008-10-05 Thread Arnaud Delobelle
Hi Django users, I have a project made of several app and I am adding a 'search' app which provides searching facilities across all apps. Each app whose content can be searched needs to register with the search app with code such as: def search_genf(request, search_terms): # generate weighe

Re: Where to put initializing code

2008-10-05 Thread Steve Holden
Arnaud Delobelle wrote: > Hi Django users, > > I have a project made of several app and I am adding a 'search' app > which provides searching facilities across all apps. Each app whose > content can be searched needs to register with the search app with > code such as: > > def search_genf(request

Re: Where to put initializing code

2008-10-05 Thread Arnaud Delobelle
On Oct 5, 7:12 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Arnaud Delobelle wrote: > > Hi Django users, > > > I have a project made of several app and I am adding a 'search' app > > which provides searching facilities across all apps.  Each app whose > > content can be searched needs to register