HBTaylor wrote:

> By the way, it seems like having the symbol in your Price model would
> be redundant, since you can use myprice.holding.symbol to get the
> symbol if you are listing (for example) all of the prices for a given
> day.
>
> H.B.

Actually H.B., after looking it over closer, i need something a little
different.

My Models (in my own syntax) are as follows:

Portfolio --- 1:N--- Holding
Holding --- 1:N --- trades

Stock prices for each unique Holding.

does this make any sense?

So, if I were to use your model's given, I would have multiple prices
for the same stock (it would work, but be wastefull).

In my current code (Delphi), I am able to keep a list of current stock
prices, which I may end up doing in Django via a global prices
dictionary or something like that.

Thanks again so much, and if you have any other ideas on helping this,
please!

John


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to