add methods for ForeignKeys on User?

2005-08-10 Thread [EMAIL PROTECTED]
Hi, I have something similar to the following in my model from django.models.auth import User class UserConfirmation(meta.Model): fields = ( meta.AutoField('id', primary_key=True), meta.ForeignKey( User), meta.IntegerField("random"), meta.DateTimeField('added

Re: expressions in templates?

2005-08-10 Thread xtian
On 8/9/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > ... > Of course, as you point out, you could write your own view, rather > than using a generic view, if you need more fine-grained control. Both > solutions are pretty easy and don't require much code. :) > Fair enough - thanks! xtian