Nathan Ekstrom escribió: > I believe he said User model not product model. As to extending the > user model I don't know that there is a preferred method. Probably > the best way so as not to mess with Satchmo too much would be to > create a 1-to-1 field linking a new model to the user model. Then > when you need to access your custom fields you just need to do > user.<custom_model>.field
Which is exactly the method explained in the document about extending the product model... Cheers. > > Nathan > > On Mon, Aug 10, 2009 at 2:18 AM, Juanjo <[email protected] > <mailto:[email protected]>> wrote: > > > Follow the documentation: > > http://www.satchmoproject.com/docs/svn/custom-product.html > > Then, if you want your extension class to show in the admin with the > regular product admin interface, check this on my site: > > > http://juanjoalvarez.net/es/detail/2009/jul/27/why-bad-idea-tm-override-product-model-satchmo/ > > > > On Aug 9, 11:50 pm, Seth <[email protected] > <mailto:[email protected]>> wrote: > > What is the preferred to extend the user model? I need to store > more > > information about the customer than satchmo does by default. > > > > > -- Carlos Perelló Marín [P+] SERVICIOS PROFESIONALES http://www.pemas.es mailto:[email protected] || mailto:[email protected] Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada de la empresa que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona. Su dirección de correo electrónico junto a sus datos personales forman parte de un fichero titularidad de PEMAS Servicios Profesionales, S.L. cuya finalidad es la de mantener el contacto con Ud. De acuerdo con la Ley Orgánica 15/1999, usted puede ejercitar sus derechos de acceso, rectificación, cancelación y, en su caso, oposición enviando una solicitud por escrito, acompañada de una fotocopia de su DNI dirigida a PEMAS Servicios Profesionales, S.L. C/ Santos Justo y Pastor, 72 - 5, C.P. 46022 de Valencia (España). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
