Hi:
Specifically, I'm curious how you do it without putting SQL in the view. From what I understand about the methodology of MVC this should not be done. J. On 12/27/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On 12/27/06, Jason <[EMAIL PROTECTED]> wrote: > What do we do in Django if we want to use complex data models like > JOINs, or a shopping card with invoices and line-items? Do we try and > keep as much in the database as possible using stored procedures or > views? > > What happens to the model when you want to do more than just SELECT x, > y, z FROM A? Hi Jason, You're best off asking a more specific question. There are indeed ways to perform JOINs in Django, and it's certainly possible to implement a shopping cart with invoices and line-items. Provide a more specific question, and we'll show you how to do it. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com >
-- ........................................ .... Jason C. Leach .... PGP Key: 0x62DDDF75 .... Keyserver: gpg.mit.edu --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---