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
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)
2 matches
Mail list logo