Ok, I think that'll work. I'll try it.
--
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.
> Wait, but do profile fields get displayed as part of the form?
Just add them to RegistrationForm and they will. Or create another
form class for Profile, and use the fields from that to populate the
Profile...
{{ reg_form.as_p }}
{{ profile_form.as_p }}
On Feb 20, 10:22 am, Shawn Milochik w
On Feb 20, 2010, at 10:11 AM, Wiiboy wrote:
> Wait, but do profile fields get displayed as part of the form?
This is Django. It can do whatever you want it to.
Django-registration was specifically written to be reusable so that, for
example, templates can be overridden with your own.
Shawn
-
Wait, but do profile fields get displayed as part of the form?
--
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+unsubs
Sorry... char.save() should read profile.save()
On Feb 20, 9:05 am, Tim Shaffer wrote:
> It's really not that difficult. You can just override the save()
> method and create the Profile there.
>
> class RegistrationForm(forms.ModelForm):
>
> class Meta:
> model = User
>
> def save
It's really not that difficult. You can just override the save()
method and create the Profile there.
class RegistrationForm(forms.ModelForm):
class Meta:
model = User
def save(self):
user = super(RegistrationForm, self).save()
profile = Profile.objects.create(use
That doesn't look like it helps a whole lot actually. I don't see
where I can create a registration form including my custom profile
model.
--
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...@google
http://bitbucket.org/ubernostrum/django-registration/
--
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...@goo
Hi guys,
What's the easiest way to make a user registration form, based on my
own Profile model and the built-in user model?
Writing my own form from scratch is looking like the most painless but
time-consuming way.
--
You received this message because you are subscribed to the Google Groups
"D
9 matches
Mail list logo