Newbie: having trouble with save method

2009-10-10 Thread Senthil
Hey Guys, I am not able to understand this behavior happening in django My models.py is as follows from django.db import models from django.contrib.auth.models import User class ht_wt(models.Model): user = models.ForeignKey(User) EntryDate = models.DateField(auto_now = True)

Re: Newbie: having trouble with save method

2009-10-10 Thread Karen Tracey
On Sat, Oct 10, 2009 at 6:04 PM, Senthil wrote: > > Hey Guys, > I am not able to understand this behavior happening in django > > My models.py is as follows > > from django.db import models > from django.contrib.auth.models import User > > > class ht_wt(models.Model): >user = models.Forei