thank you for your help but I find a solution
I'm using jquery to connect to a server
2010/8/19 Mathieu Leduc-Hamel
> You have to forget the php when you code something in Python and Django.
>
> The process doesn't fallow the same way it does in PHP.
>
> It's complete new world (and a more beaut
You have to forget the php when you code something in Python and Django.
The process doesn't fallow the same way it does in PHP.
It's complete new world (and a more beautiful and peaceful one i think).
Your connection will be keep alive, don't worry about that. What do you mean
by connection ? T
In my view.py I did this but I don't know how to make the connection to the
server permanent
2010/8/18 Renne Rocha
> You have to do a view that handle the action of getting the content
> of the treeview...
>
> It seems you don't know how Django works. Take a look at the
> tutorial first. Don'
You have to do a view that handle the action of getting the content
of the treeview...
It seems you don't know how Django works. Take a look at the
tutorial first. Don't code Django like you code PHP...
On Wed, Aug 18, 2010 at 11:01 AM, Imad Elharoussi
wrote:
> I want to connect to a server
I want to connect to a server and get a tree object regularily and show the
modifications in the treeview
do you know how can i do this?
2010/8/18 Renne Rocha
> I believe not... but why are you trying to do this?
>
> It is not the right use for the template layer of Django...
>
> On Wed, Aug 1
One of Django's design principles is to separate database access and
application logic from presentation.
Rather stick to the tutorial and documentation to use Django, and forget the
PHP way of doing things while you use Django.
On Wed, Aug 18, 2010 at 3:53 PM, Imad Elharoussi
wrote:
> Hello
>
>
I believe not... but why are you trying to do this?
It is not the right use for the template layer of Django...
On Wed, Aug 18, 2010 at 10:53 AM, Imad Elharoussi
wrote:
> Hello
>
> Can we connect to a database from the template like in php?
>
> --
> You received this message because you are
7 matches
Mail list logo