Django and an indirect access to the database tables (over stored procedures calls for data retrieval and modification)

2011-03-08 Thread Vazir
Hello!
I'm looking for a way to be using Django as an MVC framework, for a
very complex database, so
there is no way (and no need) of giving a Django models with direct
access to a DB structure (all business logic is already bult in to the
DB), all DB interaction must be done via the stored procedures calls.
I'm looking for any examples on implementation of the Django models
with indirect access to a DB data. There is doc of using raw() methods
in Django documentation, but it's not clear how updates will be done
than. Will be grateful for any links or suggestions how to do that!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django and an indirect access to the database tables (over stored procedures calls for data retrieval and modification)

2011-03-08 Thread Vazir
Thanks Michael!
Probably I must be more specific. I mean, can I use all the Django
modeling stuff (since it's cool in forms and etc), but rewrite the
way, models interacts with DB - how they retrieve and update data from/
to DB? There is some examples via raw() for data selects, but nothing
about data updates. Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django and an indirect access to the database tables (over stored procedures calls for data retrieval and modification)

2011-03-09 Thread Vazir
Have a clue now, thanks so much!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.