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 dat
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, profile_callback=None
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
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 =
RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['userna
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
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 been
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 = mo
7 matches
Mail list logo