Alex S. wrote: > hi there, > > i want to use django-profiles to save some additional data for each > user. so i created the needed profile model and set it in my settings > file. after some looking over the standard user model i found fields > for first- and lastname. i need that data in my profiles and really > would not like to have that fields again in my custom profile model. > i'd say the best way would be to display a form that saves the first- > and the lastname in the standard user fields and the rest in the > additional profile. is this possible? how would i implement such a > form? just using the form_class parameter of django-profiles could > work with such an approach? > > thanks in advance for any help! i know it's not a big problem but i'm > always trying to do things in a way that just "feels good" - that's > why i don't want to just implement the first- and lastname fields in > the custom profile if they are already existing in another table (even > if i would be able to get that working then). apart from that i think > it would deepen my understanding on the way django works. > See "Forms with 2 models":
http://groups.google.com/group/django-users/browse_thread/thread/655938b1c01d6dee/0e43647e09b557ba?show_docid=0e43647e09b557ba&pli=1 <http://groups.google.com/group/django-users/browse_thread/thread/655938b1c01d6dee/0e43647e09b557ba?show_docid=0e43647e09b557ba&pli=1> regards Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

