Re: django-registration custom fields

2010-06-01 Thread gin tonic
I'm following the praveen tutorial as well but I'm receiving the error: "SiteProfileNotAvailable at /accounts/register/" What am I missing here. On May 31, 1:32 pm, Pankaj Singh wrote: > Thanks my problem has been resolved :) -- You received this message because you are subscribed to the Goog

Re: django-registration custom fields

2010-05-31 Thread Pankaj Singh
Thanks my problem has been resolved :) -- 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.

Re: django-registration custom fields

2010-05-31 Thread shacker
Pankaj - The fact that you're using a save() method here means that you're using instructions referring to an older version of django- registration. But you're probably actually deploying a current version, which doesn't allow for that. The upgrade guide says: "Previously, the form used to collec

Re: django-registration custom fields

2010-05-31 Thread Pankaj Singh
I am using django-profiles with django-registration as per tutorial from http://praveensunsetpoint.wordpress.com/2009/04/21/django-registration-and-django-profile But after the submitting the form I am getting this error AttributeError at /accounts/register/ 'RegistrationForm' object has no att

Re: django-registration custom fields

2010-05-29 Thread shacker
See also: http://birdhouse.org/blog/2009/06/27/django-profiles/ ./s -- 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

Re: django-registration custom fields

2010-05-29 Thread Praveen
Hi Pankaj here you may refer my blog where i explain how you may extend some fields while registration. http://praveensunsetpoint.wordpress.com/category/django/django-registration-profile/ Praveen On May 29, 4:41 pm, Pankaj Singh wrote: > I tried extending RegistrationFormUniqueEmail > > class

Re: django-registration custom fields

2010-05-29 Thread Pankaj Singh
I tried extending RegistrationFormUniqueEmail class CustomRegistrationFormUniqueEmail(RegistrationFormUniqueEmail): first_name = forms.CharField(label=_('First name'), max_length=30,required=True) last_name = forms.CharField(label=_('Last name'), max_length=30, required=True) def save(