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

django-registration "remember me"

I need to implement a "Remember me" button in a login form that uses the django-registration app. Any ane can help me showing me the way for do this? Thanks
z3a
  • 1,014
  • 2
  • 11
  • 20
13
votes
2 answers

Reverse for 'index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []

I'm trying to get django-register to work on my website but I keep getting this error which I do not understand I'm using django 1.6 on Python 3.3 NoReverseMatch at /accounts/register/ Reverse for 'index' with arguments '()' and keyword arguments…
Charles Haro
  • 1,866
  • 3
  • 22
  • 36
13
votes
2 answers

Django - Ajax modal login/registration

I have a project in which I need to pop a modal window for not authenticated users. This modal will allow to login directly or create an account. So it will contain two…
13
votes
3 answers

Django Forms, having multiple "Models" in Meta class?

Can we define multiple models in the "Meta class" part of a Form ? Here is my example: from django import forms from django.contrib.auth.models import User , Group from django.forms import ModelForm from django.utils.translation import ugettext…
Soask
  • 691
  • 12
  • 21
12
votes
4 answers

django+ send email in html with django-registration

im using django-registration, all is fine, the confirmation email was sending in plain text, but know im fixed and is sending in html, but i have a litter problem... the html code is showing:
Asinox
  • 6,747
  • 14
  • 61
  • 89
12
votes
2 answers

django-registration - how do i change example.com in the email?

I have the django-registration setup and it sends emails - yay! However, it's decided that it would be ace to call my site "example.com", which is not the name I decided to use. Cool name, but not for me. How do I change example.com to something…
bharal
  • 15,461
  • 36
  • 117
  • 195
11
votes
4 answers

Django OAuth Toolkit - Register a user

I've gone through the docs of Provider and Resource of Django OAuth Toolkit, but all I'm able to find is how to 'authenticate' a user, not how to register a user. I'm able to set up everything on my machine, but not sure how to register a user using…
11
votes
2 answers

Django-registration compatibility issue with django 1.7

I've been using [django-registration] (https://bitbucket.org/ubernostrum/django-registration) and now I have started using django 1.7b1 and here is the error I am getting the error copied below. It is being raised from django-registration in…
Nima
  • 3,129
  • 1
  • 21
  • 20
11
votes
3 answers

Turn off user social registration in django-allauth?

I noticed looking through the django-allauth templates there's a signup_closed.html users can be redirected to when user registration is closed or disabled. Does anyone who's familiar with that module know if there's a pre-configured setting that…
Chris B.
  • 1,505
  • 5
  • 26
  • 48
11
votes
4 answers

How to redirect users to a specific url after registration in django registration?

So I am using django-registration app to implement a user registration page for my site. I used Django's backends.simple views which allows the users to immediately login after registration. My question is how do I redirect them to my other app's…
11
votes
3 answers

django-registration app and Django 1.5 custom user model

I use django-registration app and Django 1.5. How to create (new in django) custom user model and save also this data during registration (Please note that I am using django-registration): class CustomProfile(models.Model): user =…
user2054574
  • 359
  • 5
  • 10
11
votes
3 answers

django-registration: how do I check whether the user is logged in before displaying a page

I followed this page to set up a django registration site. It's pretty awesome, and registration and authentication are nicely wrapped. But, it doesn't show me, how do I check if a user is logged in, who this user is, before displaying a webpage?…
CuriousMind
  • 15,168
  • 20
  • 82
  • 120
10
votes
3 answers

How to get Django view to return form errors

This is my view: def main_page(request): if request.method == 'POST': form = RegistrationForm(request.POST) if form.is_valid(): user = User.objects.create_user( username=form.clean_data['username'], …
SilentDev
  • 20,997
  • 28
  • 111
  • 214
10
votes
1 answer

Subclassing django-registration 1.0 forms for django 1.5 custom user models

django-registration 1.0 now has support for django 1.5 custom user models. The django-registration documentation only has the following FAQ item about it: I’m using Django 1.5 and a custom user model; how do I make that work? Although the two…
Jon
  • 9,815
  • 9
  • 46
  • 67
9
votes
1 answer

How do I test sending an email with Django registration on a local computer (Mac 10.7)?

I never tried sending emails programmatically before. Do I need to set up a SMTP server on my local machine or something? Or can I use someone else's SMTP server (maybe Gmail's)? Everytime Django registration is trying to send an email I get the…
hobbes3
  • 28,078
  • 24
  • 87
  • 116
1
2
3
46 47