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
0
votes
2 answers

Django-registration: Why is it so hard to save a user form, and is my simple solution OK?

I have a Client model with a OneToOne relationship to User, to extend the User model. I need to be able to register a user (with a form that includes both the User and Client fields), and for that I used django-registration. Here is the view for…
jpimentel
  • 694
  • 1
  • 7
  • 23
0
votes
1 answer

Django, UserProfile inheritance nightmare?

I'm using both django-userena and django-facebook as my main registration apps. Let's inherit my own UserProlfile from both of them: from userena.models import UserenaBaseProfile from django_facebook.models import FacebookProfileModel class…
Soask
  • 691
  • 12
  • 21
0
votes
1 answer

django unsuccessful login fail page

I am using django-registration and would like to have a different page for failed logins. The initial login screen is loaded via jQuery, so doesn't need to extend the base page: {% extends 'base.htm' %} but the "fail" page does need to extend it.…
bharal
  • 15,461
  • 36
  • 117
  • 195
0
votes
1 answer

tracking user login with django

I am using the builtin login module to perform logins in my website url(r'^login/$', 'django.contrib.auth.views.login', {'extra_context': {'page_name': 'login'}), and this is the next action of my login form
xpanta
  • 8,124
  • 15
  • 60
  • 104
0
votes
1 answer

error overiding save method while extending Django-registration app

I am using django-registration app. and have following code in forms.py from django.contrib.auth.forms import UserCreationForm from registration.forms import RegistrationFormUniqueEmail from django import forms from django.contrib.auth.models…
Hafiz
  • 4,187
  • 12
  • 58
  • 111
0
votes
2 answers

Problems with redirect() calls in django-registration

I have a Django 1.4 project that makes use of django-registration which calls a redirect('registration_complete', (), {}) after a user registers successfully. This works great on the django development server which runs at…
Erik
  • 7,479
  • 8
  • 62
  • 99
0
votes
1 answer

Do I need to override save method to add data to different models from django UserCreationForm

I want to add another field in UserCreationForm to be shown in RegistrationForm , I saw a couple of examples on stackoverflow for that purpose. I mean the examples by defining different RegisterForm inherited from UserCreationForm as explained in…
Hafiz
  • 4,187
  • 12
  • 58
  • 111
0
votes
2 answers

FieldError with keyword 'username' when trying to create a user with Django

My Models.py, Here I'm using OneToOneField here, to extend StudentProfile. from django.db import models from django.contrib.auth.models import User, UserManager class SecretQuestion(models.Model): question = models.CharField(max_length=200) …
JohnRK
  • 105
  • 1
  • 7
-1
votes
0 answers

Additional fields in django not being saved

I have already looked through all the django registration examples and i've successfully created a form with extended fields but i've experienced a few problems listed below, mainly with the data not being saved in the DB table UserProfile. I…
Stanwin Siow
  • 437
  • 1
  • 8
  • 21
-1
votes
1 answer

TypeError at /api/register/ 'module' object is not callable

I am trying to register users using django rest framework but this is the error i am getting, Please help Identify the issue TypeError at /api/register/ 'module' object is not callable Request Method: POST Request URL: …
-1
votes
1 answer

How to convert status of the user from Django Administration Page

I want to change the status of a registered user to staff or active/notactive. While logging in the Django Administration Page as a superuser I couldn't find any option to do that as you can see from the below screen shot. How can we do it.
Olivia Brown
  • 594
  • 4
  • 15
  • 28
-1
votes
1 answer

Django Custom Template Form and {{next}}

I'm stuck on creating form, looks like {{ forms.as_p }}. I need to login to website using this form. Uing forms.as_p it everything works perfectly, but I need to create my own customized form. Problem is, that after reading lot's of website's and…
D.Doe
  • 9
  • 8
-1
votes
1 answer

Making view only available to registered users with registration redux?

I'm making a simple Django application, I've implemented django registration redux with two step email verification, using the standard default templates. I know want to add a simple HTML page that is only accessible to registered users: …
Babra Cunningham
  • 2,949
  • 1
  • 23
  • 50
-1
votes
1 answer

Django registration redux modifying registration form

I am trying to develop a register based website. I used django registration redux for it. But I can't figure out how to modify it. As an example in default files there are username and password, I want to change username with an e-mail and add…
Hamlock B
  • 27
  • 1
  • 7
-1
votes
1 answer

how to redirect different types of pages for different users after login in django

I have created two different types of users - truck & company using Django. Here is my registration page of a user Registration Page After registering, the data about whether the user is a truck or company will go to the database. In my login page, …
1 2 3
46
47