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
6
votes
4 answers

Django registration email not sending

I've been trying to get the django-registration-redux account activation email to send to newly registered users. I've gotten all non-email related parts to work, such as loggin in/out and actually registering the user! When i register, it…
ThriceGood
  • 1,633
  • 3
  • 25
  • 43
6
votes
1 answer

cannot import name get_user_model

I use django-registrations and while I add this code in my admin.py from django.contrib import admin from customer.models import Customer from .models import UserProfile from django.contrib.auth.admin import UserAdmin from…
wadadaaa
  • 309
  • 1
  • 4
  • 21
6
votes
2 answers

Python/Django django-registration add an extra field

I have read a lot about how to add an extra field when using Django-registration, for example here, here and here. The code snippets are: forms.py (from the registration app) class RegistrationForm(forms.Form): username =…
geompalik
  • 1,582
  • 11
  • 22
6
votes
2 answers

Unicode characters in Django usernames

I am developing a website using Django 1.4 and I use django-registration for the signup process. It turns out that Unicode characters are not allowed as usernames, whenever a user enters e.g. a Chinese character as part of username the registration…
piokuc
  • 25,594
  • 11
  • 72
  • 102
6
votes
1 answer

Django-registration - Sending Email in a asynchronous way

So, I'm using django-registration in my project to enable user self-registration in the app I'm building. I've configured django-registration to send confirmation emails to the registered users. My settings.py: EMAIL_USE_TLS = True EMAIL_HOST =…
Valdir Stumm Junior
  • 4,568
  • 1
  • 23
  • 31
5
votes
1 answer

Django SelectDateWidget not saving date

I am using the SelectDateWidget with django-registration to save a Birth Date at registration. I have tried excluding the birthday and the a profile is created and saved with the extra data. I am not quite sure where everything is going…
Ernest Jumbe
  • 758
  • 9
  • 21
5
votes
2 answers

Forcing Django Login Form to take username over 30 characters

I'm trying to use emails for usernames, and have got it working almost perfectly. I followed these directions: http://www.micahcarrick.com/django-email-authentication.html The problem is, my login form still is throwing an error that says the…
Brenden
  • 8,264
  • 14
  • 48
  • 78
5
votes
1 answer

Python with Django Import error with RegistrationSupplementBase cannot import name 'ugettext_lazy'

I'm updating a very old Django project and trying to use RegistrationSupplementBase but when importing, I got the error below: File "/home/projectmachine/Desktop/project_rebuild/projectname/models.py", line 11, in from…
La Fon
  • 145
  • 1
  • 1
  • 9
5
votes
2 answers

How can I add age verification to a django-registration form?

I have a Django application that is using django-registration to handle new user registration. I would like to add date of birth to the registration form so that I can check the user's age before deciding whether to allow them to register. However I…
Dave Forgac
  • 3,146
  • 7
  • 39
  • 54
5
votes
2 answers

Django: is_authenticated and is_anonymous both return true after logout

I am using django-registration, and just set it up. {{user.is_authenticated }} is true, even though i went already to /accounts/logout/ and logged the user out. {{user.is_anonymous }} returns true also. According to django docs, those two…
mgPePe
  • 5,677
  • 12
  • 52
  • 85
5
votes
2 answers

ImportError: cannot import name RequestSite when inlude 'registration' in installed apps

I am trying to install and run Django-registration-redux and whenever I try to include 'registration' in installed apps I am getting an error: Traceback (most recent call last): File…
unixbek
  • 135
  • 1
  • 7
5
votes
2 answers

How to make multiple user types when signing up?

I'm using Django 1.2 and I want to have two user types (one for companies and one for consultants). I will either use an object in my model (something like a boolean for is_company or is_consultant) or Django's groups to distinguish them--depending…
Tim
  • 311
  • 2
  • 5
  • 12
5
votes
2 answers

django-registration-redux add extra field

7 and python 2.7. i want to add extra field in django registration. i try to extend with my model like this: class Seller(models.Model): user = models.ForeignKey(User, unique=True) name =…
User0511
  • 665
  • 3
  • 11
  • 27
5
votes
1 answer

Django login, logout urls and current user name

I'm new to Django and just just got django-registration up and running. Could anyone tell me how to get a get a log-in, log-out url name and the name of the current user in my template. Are these called template tags? IS there a comprehensive list…
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
5
votes
0 answers

Migrating from django-registration to django-allauth

I have an existing Django system which uses django-registration. I'd like to move away from django-registration, which is no longer actively maintained. django-allauth looks a good candidate for a replacement. Has anyone managed to migrate from…
Rachel
  • 2,858
  • 2
  • 26
  • 30