Hi

I'm interested in getting the example code too.


Regards


2010/11/8 Dierckx, Marc <[email protected]>

> Hello,
>
> you add a field to a new model and add a onetoone relationship with the
> contact model
>
> You add a  field to the registration form.
>
> you utilse a signal (form_init) to intercept the form before it is being
> shown in the registration_form.html and fill the field with content of the
> new model if the contact already exists
>
> you utilise a signal (post_save) to save the extra field in the form in
> your new model.
>
> I can send you the code in the evening.
>
> Regards,
>
> marc
>
> -----Original Message-----
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Nik
> Sent: Montag, 8. November 2010 09:15
> To: Satchmo users
> Subject: Re: How to add age field in registration form of satchmo
>
> Thanks for the reply.
> I m beginner with django, satchmo. From the following link, I am not
> getting clue. If possible, can you explain with example
>
> how to add "age" in existing contact model without affecting that
> model & which "views" need to take care? how to add that "age" filed
> in registration_form.html page ? and how to save "age" value in to
> contact table?
>
> Thanks & regards.
>
> On Nov 8, 12:48 pm, "Dierckx, Marc" <[email protected]>
> wrote:
> > Hi,
> >
> > use signals as described in
> >
> > http://groups.google.com/group/satchmo-users/browse_thread/thread/3bffef
> > 41239456ee/e96993ab60424e75?lnk=gst&q=extend+user+vat#e96993ab60424e75
> >
> > regards,
> >
> > marc
> >
> > -----Original Message-----
> > From: [email protected]
> >
> > [mailto:[email protected]] On Behalf Of Nik
> > Sent: Montag, 8. November 2010 08:43
> > To: Satchmo users
> > Subject: How to add age field in registration form of satchmo
> >
> > Hi All,
> >
> > Please tell me, how to add new filed (for example : "age") in existing
> > contact model without affecting that model. And what are the "views"
> > need to be take care?
> >
> > How to add that "age" filed in registration_form.html page ? and how
> > to save "age" value in to contact table?
> >
> > Thanks & regards.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<satchmo-users%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/satchmo-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>


-- 
Alvaro
www.dorsalcero.net

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to