Questions tagged [django-registration]

Django-registration is a pluggable django app designed to make allowing user signups as painless as possible.

At one point Django-registration had been abandoned and was considered obsolete. In recent times the project has been resurrected and resides at: https://github.com/ubernostrum/django-registration

The original objective of the django-registration was to be a

pluggable django app designed to make allowing user signups as painless as possible.

There are several alternatives including
django-allauth :https://github.com/pennersr/django-allauth
django-registration-redux : https://github.com/macropin/django-registration/

Useful links

700 questions
4
votes
3 answers

Django-registration: How to make account creation ask for first/last name

I'm using the Django-Registration package to have users create accounts, authenticate them and log in to my webapp. However, the form/view for account creation doesn't ask the user for a firstname/last name (those fields are part of the model BTW).…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272
4
votes
3 answers

Django - Ajax registration

I am trying to allow registration (using this django-registration register view) to one of my applications from a modal dialog. Since this form is in a modal box, I'd like to get an json reponse on success (instead of the default redirection) How…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
3
votes
1 answer

Send confirmation email when changing the email in Django

I'm currently using django-registration, and it is working well (with some tricks). When the user registers, he has to check his/her mail and click on the activation link. That's fine, but... What if the user changes the email? I would like to send…
Oscar Mederos
  • 29,016
  • 22
  • 84
  • 124
3
votes
1 answer

Custom django registration form

I am trying to customize the Django registration form. I have mysite project in which I have created registration1 app. mysite/registration1/forms.py from registration.forms import RegistrationForm from django import forms class…
user1163236
  • 223
  • 3
  • 9
3
votes
1 answer

Creating a Django Registration Form by Extending Django-Registation Application

Am trying to create a registration form by extending django-registration app and using Django Profile. I have created the model and form for the profile and when I checked through the django shell it is generating the fields. For the profile fields…
swaroop
  • 125
  • 2
  • 8
3
votes
1 answer

How we can return extra parameter with the 'HTTP_REFERER' URL in Django views?

url = request.META.get('HTTP_REFERER') return HttpResponseRedirect(url) This URL is used to redirect to the current page and I want to send a parameter with it. How I can do that?
3
votes
3 answers

debugging django signals' problems

I'm having problems with connecting to a signal in django. I've been following a tutorial available at http://dmitko.ru/?p=546 and tried to extend user registration. I have django-registration correctly set up. It is working fine. For debug purpose…
Marcin Cylke
  • 2,100
  • 2
  • 21
  • 40
3
votes
1 answer

Viewing auth_user model in Django

How do I view the contents of the auth_user model in Django? For example, I have created a model Class called EmailList within my app. And to view the email QuerySet I can do: >>> from app.models import EmailList >>> EmailList.objects.all() How…
David542
  • 104,438
  • 178
  • 489
  • 842
3
votes
2 answers

Registration in django

I am looking to add a registration page to my django project. It will need to have perhaps five or six fields. Is django-registration https://bitbucket.org/ubernostrum/django-registration/ the best way to go? Or would you recommend something else?…
David542
  • 104,438
  • 178
  • 489
  • 842
3
votes
4 answers

django extends different base templates

I understand we can use "extends variable" in the template to switch between two different extended templates. e.g. views: if something: base = 'base1.html' else: base = 'base2.html' return render_to_response…
3
votes
1 answer

django registration - allows multiple users for an email id

I am trying out django-registration. I found that it allows multiple registration for same emailid. I want to prevent that. What is the best way to do that? ok, I see there is a subclass RegistrationFormUniqueEmail. Now, how to use this class? I…
ruskin
  • 469
  • 9
  • 17
3
votes
2 answers

How to add extra fields to django registration form?

I have a registration form which generates in view. Now I need to add some fields from other model. How should I change view to add fields from another model? Here is my view code: def register(request): """ User registration """ if…
Raman
  • 107
  • 1
  • 3
  • 12
3
votes
1 answer

Django: Views problem with Django + django-registration + jinja

So, I have a django project that is using jinja2 rendering, and I also installed django-registration to make my life easier. I ran into the following problem: Going to homepage I render it with jinja. In order to check for authentication, I have to…
mgPePe
  • 5,677
  • 12
  • 52
  • 85
3
votes
1 answer

Equals sign in django-registration activation url

I am using django-registration and for some reason, when it sends the activation email, it inserts an equals sign in the third to last character as such: http://example.com/accounts/activate/a65b4aca5156211bc522e29f3e872290544d14= e4/ This means the…
Josh
  • 4,427
  • 5
  • 28
  • 27
3
votes
1 answer

How can I store form input in a session in Django?

Who can help me with the following challenge? I have a registration template where users can sign up. They are then redirected to an url with a payment button and activated when a successful payment is made. In the HTML template I store the…
Quicky
  • 33
  • 1
  • 4