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
70
votes
5 answers

Get user information in django templates

What's the best way to get user information from a django template? For example, if I just want to: If the user is logged in, display "Welcome [username]" Otherwise, display the login button. I'm using django-registration/authentication
River Tam
  • 3,096
  • 4
  • 31
  • 51
58
votes
7 answers

CSRF verification failed. Request aborted. on django

I am following Django 1.3 Web Development. and for logins, i am getting the following error Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for failure: CSRF token missing or incorrect. This is my settings.py…
Yousuf Jawwad
  • 3,037
  • 7
  • 33
  • 60
46
votes
6 answers

Creating a extended user profile

I have an extended UserProfile model in django: class UserProfile(models.Model): user = models.ForeignKey(User, unique=True) #other things in that profile And a signals.py: from registration.signals import user_registered from models import…
Kai
  • 2,205
  • 3
  • 32
  • 43
37
votes
1 answer

Already Registered at /appname/: The model User is already registered

I'm trying to connect the django.contrib.auth User with my own UserProfile, and I'm getting an 'AlreadyRegistered' error when I go on the site. Here's the traceback: Environment: Request Method: GET Request URL: myurl.com/django/appname/ Django…
River Tam
  • 3,096
  • 4
  • 31
  • 51
36
votes
11 answers

Removing help_text from Django UserCreateForm

Probably a poor question, but I'm using Django's UserCreationForm (slightly modified to include email), and I would like to remove the help_text that Django automatically displays on the HTML page. On the Register portion of my HTML page, it has the…
Chris Yin
  • 761
  • 1
  • 11
  • 23
34
votes
3 answers

Django-Registration: Email as username

How do I use emails instead of username for authentication using django-registration. Further how do I enforce this change once I have already installed the registration module. Do I edit the solution here Anyone knows a good hack to make…
Eva611
  • 5,964
  • 8
  • 30
  • 38
26
votes
8 answers

Django - Create user profile on user creation

I'm following Django documentation here in order to achieve a simple objective: Create a user profile as soon as a new user is created. I have an 'accounts' app and my accounts.models looks like this: # -*- coding: utf-8 -*- from django.db import…
Limaaf
  • 3,296
  • 3
  • 18
  • 17
25
votes
1 answer

"TemplateSyntaxError: 'humanize' is not a valid tag library:" in DJango

While setting up the django-registration module I have run into a bit of trouble. Everything works correctly as far as rendering templates. After trying to test-register I am hit with this error. I do have Django.contrib.humanize in the settings.py…
Frantz Romain
  • 836
  • 1
  • 6
  • 14
21
votes
3 answers

Where is a good place to work on accounts/profile in Django with the Django registration app?

I've noticed that after I log in with Django registration it redirects me to accounts/profile/. By default Django registration's url.py doesn't handle accounts/profile/, so I need to create my own. Actually this questions is three-fold: Why does…
hobbes3
  • 28,078
  • 24
  • 87
  • 116
21
votes
4 answers

Django-nonrel + Django-registration problem: unexpected keyword argument 'uidb36' when resetting password

I'm using Django-nonrel with registration app. Things seem to be working fine, except when I try to reset my password. When clicking on reset-password link sent to me in email, Django produces error message: password_reset_confirm() got an…
20
votes
1 answer

django-social-auth django-registration and django-profiles -- together

Has anyone used django-social-auth, django-registration and django-profiles together. Do they work well together? I have established social-auth but I read somewhere that django-allauth is better. Should I switch over to that? Please…
Sachin
  • 3,672
  • 9
  • 55
  • 96
19
votes
3 answers

Django - authentication, registration with email confirmation

I'm looking at the API for authentication https://docs.djangoproject.com/en/1.3/topics/auth/ I can't seem to find information on simple user registration form that would send confirmation email as it is the usual way on web sites. I guess I could…
Ska
  • 6,658
  • 14
  • 53
  • 74
19
votes
3 answers

Django 1.6 and django-registration: built-in authentication views not picked up

I am trying to upgrade my webapp from Django 1.5 to Django 1.6 and as part of my set of django apps I am using django-registration 1.0. After upgrading to Django 1.6 my app does not recognize the built-in authentication views any more. They are…
yellowcap
  • 3,985
  • 38
  • 51
15
votes
5 answers

How to specify name in Django mail?

I am using django's core.mail package in conjunction with django-registration for a new user sign up workflow. I have an email account, "no-reply@(mycompany).com" through my company's google mail service, that i want to use to send these emails. …
B Robster
  • 40,605
  • 21
  • 89
  • 122
14
votes
2 answers

How can i make django-rest-framework-jwt return token on registration?

I have a basic django rest service, which registers a person and updates his password. I want to add jwt authentication on top of it. If I follow the tutorial I would need to add a new url named "api-token-auth" in project's urls.py. But, I…
1
2 3
46 47