But don't you think that have attributes that I don't need is a perfomance lost? I only ask, I'm learning django :)
I go to see the documentation that you send me, thanks for your help. On Tue, May 18, 2010 at 13:38, Ian Lewis <ianmle...@gmail.com> wrote: > If you don't need the name, surname etc. then don't use them. They are > optional fields. You can also implement a custom form or view when the > user registers that can make sure the email has not been previously > registered. > > If you need to add additional fields then you should create a custom > profile model and set the model in AUTH_PROFILE_MODULE. That will > allow you to get the information from the user via the get_profile() > method. > > See: http://docs.djangoproject.com/en/dev/topics/auth/#auth-profiles > > 2010/5/18 Alexandre González <a...@mirblu.com>: > > Hi everybody! > > I need a User model with normal attributes inherit from models.User, but > I > > need some differences: > > > > I dont' need name, surname and another attributes > > I need that email are unique between different Users > > > > Can I inherit and use most of models.User? Or I need to create a new > class > > and don't benefit from Auth module? > > Thanks! > > Álex González > > -- > > Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, > .ppt > > and/or .pptx > > http://mirblu.com > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > > http://groups.google.com/group/django-users?hl=en. > > > > > > -- > ======================================= > 株式会社ビープラウド イアン・ルイス > 〒150-0021 > 東京都渋谷区恵比寿西2-3-2 NSビル6階 > email: ianmle...@beproud.jp > TEL:03-6416-9836 > FAX:03-6416-9837 > http://www.beproud.jp/ > ======================================= > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt and/or .pptx http://mirblu.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.