Re: Complex Data Models.

2006-12-27 Thread neror
On Dec 27, 8:21 pm, Don Arbow <[EMAIL PROTECTED]> wrote: On Dec 27, 2006, at 5:44 PM, Jason C. Leach wrote: > 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.I would only worry about that

Re: Complex Data Models.

2006-12-27 Thread Jeremy Dunck
On 12/27/06, Don Arbow <[EMAIL PROTECTED]> wrote: On Dec 27, 2006, at 5:44 PM, Jason C. Leach wrote: > 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. I would only worry about that if

Re: Complex Data Models.

2006-12-27 Thread Don Arbow
On Dec 27, 2006, at 5:44 PM, Jason C. Leach wrote: 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. I would only worry about that if you are concerned about maintainability or want to avoid

Re: Complex Data Models.

2006-12-27 Thread Todd O'Bryan
gt; 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

Re: Complex Data Models.

2006-12-27 Thread Jeremy Dunck
On 12/27/06, Jason C. Leach <[EMAIL PROTECTED]> wrote: 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. Jason, I'd encourage you to read the first tutorial, then fiddle with the

Re: Complex Data Models.

2006-12-27 Thread Jason C. Leach
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, >

Re: Complex Data Models.

2006-12-27 Thread Adrian Holovaty
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 wh

Complex Data Models.

2006-12-27 Thread Jason
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