On Fri, 2009-09-18 at 15:29 +0100, Tom Evans wrote:
> On Fri, 2009-09-18 at 06:53 -0700, Daniel Roseman wrote:
> > On Sep 18, 1:01 pm, Tom Evans wrote:
> > > Hi all. I have a model form to update two attributes on a UserProfile.
> > >
> > > The form is simple:
> > >
> > > class UserProfileSetReme
On Fri, 2009-09-18 at 06:53 -0700, Daniel Roseman wrote:
> On Sep 18, 1:01 pm, Tom Evans wrote:
> > Hi all. I have a model form to update two attributes on a UserProfile.
> >
> > The form is simple:
> >
> > class UserProfileSetRememberMeForm(forms.ModelForm):
> > DURATION_CHOICES = (
> >
On Sep 18, 1:01 pm, Tom Evans wrote:
> Hi all. I have a model form to update two attributes on a UserProfile.
>
> The form is simple:
>
> class UserProfileSetRememberMeForm(forms.ModelForm):
> DURATION_CHOICES = (
> ( 0, 'Default (2 weeks)'),
> ( 1 * 7 * 24 * 60 * 60, '1 week'),
>
Hi all. I have a model form to update two attributes on a UserProfile.
The form is simple:
class UserProfileSetRememberMeForm(forms.ModelForm):
DURATION_CHOICES = (
( 0, 'Default (2 weeks)'),
( 1 * 7 * 24 * 60 * 60, '1 week'),
)
YESNO_CHOICES = ( (0, 'No'), (1, 'Yes'), )
4 matches
Mail list logo