Which is the best way of query a database view(no from Django model)
Hi,
I'm a new to Django...
I have a database schema that stores me information that I want to
show in a Django website. This database schema have nothing to do with
a Django App...
Which is the best way of doing this in Django? I have read the
documentation and seems to me that I will need to use "custom SQL
directly"(https://docs.djangoproject.com/en/1.3/topics/db/sql/#executing-custom-sql-directly),
right?
If this is correct, where should I put the SQL queries, in "views.py"?
Best Regards,
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home