Re: Automatic updating of open-high-low-close data

2009-07-23 Thread Shawn Milochik
Why not just use the automatic "id" field as the primary key? --~--~-~--~~~---~--~~ 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

Automatic updating of open-high-low-close data

2009-07-23 Thread Stale
Hi all, I have an app for storing historical data for stocks, which I automatically fetch on a daily basis from Yahoo using the exellent matplotlib. I have split this into two models, something like this: class Stock(models.Model): ticker=models.CharField(max_length=30)