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

Getting `django-registration` to send you to the page you were originally trying to visit

django.contrib.auth has an awesome feature: When you try to access a page that's decorated by login_required, you get redirected to the login page with a next argument, so after you login you get redirected back to the page you were originally…
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
9
votes
5 answers

How to use different form in Django-Registration

Django-Registration has several form classes in the forms.py file. One is "class RegistrationFormTermsOfService(RegistrationForm) .. What do I change in the rest of Django Registration code to enable this form in my registration flow instead of…
Brenden
  • 8,264
  • 14
  • 48
  • 78
9
votes
4 answers

Django email app broken lines - maximum line length (and how to change it)?

# settings.py EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend' # view.py from django.core.mail import send_mail def send_letter(request): the_text = 'this is a test of a really long line that has more words that could…
John C
  • 6,285
  • 12
  • 45
  • 69
9
votes
2 answers

django-registration auto create UserProfile

I'm using django-registration and I'm trying to connect to its signals to automatically create a UserProfile. Signal definition: from django.dispatch import Signal # A new user has registered. user_registered = Signal(providing_args=["user",…
rabbid
  • 5,465
  • 7
  • 26
  • 37
9
votes
2 answers

How do I set session variables at login using django-registration and auth?

I'm using django-registration to log users into my application. That part works fine. The part that I cannot figure out is how to set custom session variables when the user logs in. For instance, I'd like to populate variables containing…
9
votes
1 answer

django-registration password reset custom template not loading

I'm using django-registration for registering users, however when I want to use my own template for password reset I get the admin template and not the template I created. My template is in myapp/templates/registration/password_reset_form.html and…
ip.
  • 3,306
  • 6
  • 32
  • 42
9
votes
1 answer

Django CMS Page Title Doesn't Render

I'm currently working on a project that uses django-registration and Django CMS. When display the pages that implement django-registration my page titles do not render. Currently have {% page_attribute page_title %} in base.html…
elke_wtf
  • 887
  • 1
  • 14
  • 30
8
votes
1 answer

Extending django-registration using signals

I have found here on stackoverflow a solution to extend django-registration with new fields using signals. Here's the link : http://dmitko.ru/?p=546 . I have created extended profile model, extended form, added required options to settings , defined…
crivateos
  • 925
  • 3
  • 10
  • 19
8
votes
4 answers

send activate-email with django-registration

I am curious if there's a way to send activated email with username, password by using django-registration. First I thought about modifying registration form but I need some example.
vernomcrp
  • 3,459
  • 11
  • 34
  • 44
8
votes
2 answers

Django- how to use built-in login view with email instead of username?

I am using built-in login in my app. There is some custom backends or packages to handle this. but many of them are not what i am looking. i made email unique via django-registration while registering. now all i want is to ask email in login page…
alioguzhan
  • 7,657
  • 10
  • 46
  • 67
8
votes
1 answer

{% url %} gives me NoReverseMatch error while reverse() returns the url just fine. Why?

I don't know if this SO question is of the same problem that I am about to describe, but it does share the same symptoms. Unfortunately, it still remains unresolved as I am writing. So here is my problem. I am trying to add James Bennett's…
tamakisquare
  • 16,659
  • 26
  • 88
  • 129
7
votes
3 answers

How to remove the Username field from the UserCreationForm in Django

I want my user registration page to display email and password field, and no username. I have created this Register Form: class RegisterForm(UserCreationForm): email = forms.EmailField(label = "Email") #fullname = forms.CharField(label =…
ArmenB
  • 2,125
  • 3
  • 23
  • 47
7
votes
3 answers

Django registration alternatives

I'm looking at django-registration. It's in alpha 0.8, and hasn't been updated for 12/13 months. But it seems this is what most people use? I'm just wondering if there is a production standard package out there for managing users on a django site,…
null
  • 1,137
  • 2
  • 11
  • 29
7
votes
2 answers

ModuleNotFoundError: No module named 'registration'

I have an issue with Django-Registration. The package is properly installed, however when I run python3.6 manage.py runserver, I get the following error : ModuleNotFoundError: No module named 'registration' The screenshot of my Settings.py, Urls.py,…
Melissa Malala
  • 89
  • 1
  • 1
  • 8
7
votes
1 answer

Django rest-auth registration. How to return user_id with the key when using token authentication

I am using Djando rest_auth.registration. My corresponding entry in urls.py is url(r'^rest-auth/registration/', include('rest_auth.registration.urls')) My authentication class is rest_framework.authentication.TokenAuthentication This rest API…
1 2
3
46 47