Hi,

On Wednesday 16 March 2016 12:58:17 Jose Galvan wrote:
> I am developing a web site to make queries and create new entries  in a
> old Mysql order entry system so I need to use the Raw SQL django
> functionality more than ORM.

Are you sure that you cannot use the ORM? Maybe you can just use unmanaged 
models?

https://docs.djangoproject.com/ja/1.9/ref/models/options/#managed

> In the process I need to use a temporary mysql table ( like a memory table
> that  is alive while the session is active), my question is : In order to
> manipulate it, Do I need to declare this table in the models.py like any
> other table ?

Take a look at Django's multi-database support:

https://docs.djangoproject.com/en/1.9/topics/db/multi-db/

Yes, you should probably write models for the temporary table.

-- 
René

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2528117.tGycDJ9xjI%40rex.
For more options, visit https://groups.google.com/d/optout.

Reply via email to