Re: django-registration with my custom user profile

2008-06-25 Thread pihentagy
Hi! I'm also trying to use django-registration. In my case the userprofile is mandatory, so I should create my own form. However, I would like to use ModelForms for the UserProfile part, but I should also provide room to enter username, and password. (and I also would like to store additional

Re: django-registration with my custom user profile

2008-06-19 Thread pihentagy
You didn't provide the 'dob' parameter. On Jun 13, 12:02 pm, Chr1s <[EMAIL PROTECTED]> wrote: > Hi thanks for your replay, > It is the second situation, I re-write the form.py like this > > class RegistrationForm(forms.Form): >   (other stuff  ) > def save(self,

Re: django-registration with my custom user profile

2008-06-14 Thread Chr1s
any help:? On Jun 13, 6:02 pm, Chr1s <[EMAIL PROTECTED]> wrote: > Hi thanks for your replay, > It is the second situation, I re-write the form.py like this > > class RegistrationForm(forms.Form): >   (other stuff  ) > def save(self, profile_callback=None): > >         new_user = >

Re: django-registration with my custom user profile

2008-06-13 Thread Chr1s
Hi thanks for your replay, It is the second situation, I re-write the form.py like this class RegistrationForm(forms.Form): (other stuff ) def save(self, profile_callback=None): new_user =

django-registration with my custom user profile

2008-06-13 Thread Chr1s
Hi guys I am newbie for django, today I tried django-registration, in the source code it said that --- To enable creation of a custom user profile along with the ``User`` (e.g., the model specified

Re: django-registration with my custom user profile

2008-06-13 Thread James Bennett
2008/6/13 Chr1s <[EMAIL PROTECTED]>: > But still I don't know how to implement this, anyone could give me a > simple example? thanks very much This feature is intended for a situation where each of the following is true: 1. You have a custom user-profile model. 2. The user-profile model has

django-registration with my custom user profile

2008-06-13 Thread Chr1s
Hi guys, I tried django-registration 0.5 today, it is powerful indeed, but I have a site-specific user profile just like this writen in my model.py class Userdetail(models.Model): user = models.ForeignKey(User, primary_key = True) # nickname = models.CharField(max_length=30) DOB =