Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8468109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:50:28+00:00 2026-06-10T15:50:28+00:00

I am currently using django-registration v0.8a and django-recaptcha for my registration portion. Everything is

  • 0

I am currently using django-registration v0.8a and django-recaptcha for my registration portion. Everything is working fine with the recaptcha field showing up except that I am unable to get the RegistrationFormUniqueEmail to work. Here are some of the details.

I have ensured that my captcha\forms.py is indeed subclassing from the correct form:

from registration.forms import RegistrationFormUniqueEmail

class RegistrationFormCaptcha(RegistrationFormUniqueEmail):
captcha = ReCaptchaField(attrs={'theme': 'white'})

I have also placed the form_class key in all the urls associated with the register view which handles the call, for instance:

url(r'^register/$',
          register,
          { 'form_class': RegistrationFormUniqueEmail,
                'backend': 'registration.backends.default.DefaultBackend' },
          name='registration_register'),

One strange behaviour I have noticed is that when I attempt to change the labels on my forms, the changes are not being reflected. Perhaps this is part of the same problem as I might have overlooked something?

class RegistrationForm(forms.Form):
"""
Form for registering a new user account.

Validates that the requested username is not already in use, and
requires the password to be entered twice to catch typos.

Subclasses should feel free to add any additional validation they
need, but should avoid defining a ``save()`` method -- the actual
saving of collected user data is delegated to the active
registration backend.

"""
username = forms.RegexField(regex=r'^\w+$',
                            max_length=30,
                            widget=forms.TextInput(attrs=attrs_dict),
                            label=_("Username"),
                            error_messages={ 'invalid': _("This value must contain only letters, numbers and underscores.") })
email = forms.EmailField(widget=forms.TextInput(attrs=dict(attrs_dict,
                                                           maxlength=75)),
                         label=_("Email address"))
password1 = forms.CharField(widget=forms.PasswordInput(attrs=attrs_dict, render_value=False),
                            label=_("Password"))
password2 = forms.CharField(widget=forms.PasswordInput(attrs=attrs_dict, render_value=False),
                            label=_("Password (again)"))

i.e I change one of the labels to another phrase, shouldn’t that be reflected?

Thanks for viewing!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:50:30+00:00Added an answer on June 10, 2026 at 3:50 pm

    The solution I’m using is to create a form using RegistrationFormCaptcha and RegistrationFormUniqueEmail and use it with the captcha backend in urls.

    custom_registration/forms.py

    from captcha.forms import RegistrationFormCaptcha
    from registration.forms import RegistrationFormUniqueEmail
    
    
    class RegistrationFormUniqueEmailRecaptcha(RegistrationFormUniqueEmail, RegistrationFormCaptcha):
        pass
    

    urls.py

    from custom_registration.forms import RegistrationFormUniqueEmailRecaptcha
    
        ...
        url(r'^w/accounts/register/$',
            'registration.views.register',
            {'backend': 'captcha.backends.default.DefaultBackend',
             'form_class': RegistrationFormUniqueEmailRecaptcha}),
        ....
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using allauth to provide registration and login in my django site. Everything
I'm currently using a the pre_save django signals and it works fine when calling
I am currently working an a webapp, using mongoengine and django, which will require
I'm using django-registration for registration and login purpose. My Models and Forms.py are working
I'm currently working on a project using Django 1.3 with the Django-Celery app. It's
i'm currently working in a web app and i'm using django-jquery, and when i
I have a web application im currently working on in python. I'm using Django
Currently, i'm working on deserializing an object model, using the built in django deserialiser
I am using the current version of django and using django-registration I got everything
I'm currently using django with tastypie. I need to implement an api for Questions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.