Thank you!

On Tue, Oct 18, 2011 at 5:52 AM, Manuele <[email protected]> wrote:

> On 17/10/2011 23:14, Jonathan Lundell wrote:
>
>> Or import it from a module.
>>
> but modules don't have direct access to the db... maybe the two easiest
> ways are:
>
> 1. define it in a model file... at least in a mylib.py file separeted to
> the main db.py or other file you use to define models.
>
> 2. use the same controller file to define all your controller functions
> that refer to the function you are talking to
>
> I hope I've been useful
>
> bye
>
>    Manuele
>
>
>


-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Reply via email to