Re: Field getting reset on update

2006-11-15 Thread [EMAIL PROTECTED]
I'll tell ya, I had my doubts if that would work, but it does. Thanks! --~--~-~--~~~---~--~~ 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 uns

Re: Field getting reset on update

2006-11-14 Thread Joseph Heck
I haven't tried to reproduce what you're seeing, but you might consider setting "editable=False" in the model to keep generic views (and the Admin page...) from touching that column of the table.It's a guess... I'm not super familiar with the generic view pieces. -joeOn 11/14/06, [EMAIL PROTECTED]

Re: Field getting reset on update

2006-11-14 Thread [EMAIL PROTECTED]
Anyone? I'm sure there's a simple answer, right? --~--~-~--~~~---~--~~ 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 gro

Field getting reset on update

2006-11-14 Thread [EMAIL PROTECTED]
OK, my custom gpuser object (which extends User) keeps a post count in the model: post_count = models.IntegerField(blank=True) this is incremented when they make a board post: gp_user.post_count = gp_user.post_count +1 gp_user.save() So far so good. My problem is that whenever someone e