Questions tagged [django-userena]

Userena is a Django application that supplies your Django project with full account management. It's a customizable application that takes care of the signup, activation, messaging and more.

31 questions
19
votes
15 answers

django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'auth.User' that has not been installed

After migrating my django and userena packages like below Django 1.8 to Django 1.9.7 django-userena 1.4.1 to django-userena==2.0.1 After running the project , I am getting below this error Unhandled exception in thread started by
swamy_venkatesh
  • 290
  • 1
  • 3
  • 10
10
votes
7 answers

django.db.utils.OperationalError: no such table: auth_user

After I install Django-userena,there is an error my django version :1.9.5 I just install django-userena step by step ,but when i migrate it ,an error happend and I don't how to solve it. Traceback (most recent call last): File "manage.py",…
李嘉图
  • 109
  • 1
  • 1
  • 3
2
votes
1 answer

Can't start accounts app using django-userena

Tried to install django-userena, and when launching python manage.py startapp polls I get the userena.compat.SiteProfileNotAvailable error. So this is very odd. First of all, official Django docs claims to depricate AUTH_PROFILE_MODULE setting :…
aram_walker
  • 107
  • 7
2
votes
3 answers

How to customize the appearance of the Django-Userena change password form

I am using Django Userena for the first time.So can not able to customize the appearance of the change password form,as we know that userena used the default change password form from django.contrib.auth.forms (if i am not wrong).Now this is…
Md. Tanvir Raihan
  • 4,075
  • 9
  • 37
  • 70
2
votes
0 answers

DeprecationWarning: AUTH_PROFILE_MODULE

I'm using Django 1.6 and Userena. My project appears to be working fine, but I keep seeing the following pop up in my terminal. DeprecationWarning: The use of AUTH_PROFILE_MODULE to define user profiles has been deprecated. profile =…
stephan
  • 2,293
  • 4
  • 31
  • 55
2
votes
0 answers

django userena editing form with related extra fields

I have some issue to solve with editing profile form of django-userena. I want to use EditProfileFormExtra (it is an extension of userena EditProfileForm) to edit related extra fields (choice fields) for Settings model, which are in OneToOne…
zeppelin
  • 95
  • 1
  • 5
1
vote
1 answer

Extending Django User Model and Adding to Admin List Display

I am trying to extend my user model with a profile and then add the new profile fields to the user list display so that it is searchable. Everything is working up until adding it to the admin list display. I keep getting this error 'User' object…
Chris Wendel
  • 163
  • 1
  • 9
1
vote
2 answers

DoesNotExist at /admin/login/ while using userena

I just used userena to create user function and everything works fine except it gives this error when I try to log in at admin page, and I'm using django 1.9.7 and userena 2.0.1. I read some old posts and it says to remove 'django.contrib.sites' in…
X.ziwei
  • 25
  • 7
1
vote
2 answers

Python/Django form where user selects from a list of Images

I'm new to django and want to make a form that allows a user to select one of three images using radio boxes, once the user selects the image it is saved to their profile and displayed on their profile page. I am using: django 1.8.3 userena…
Blezx
  • 614
  • 2
  • 6
  • 19
1
vote
1 answer

Django-userena showing forms twice when using with Crispy Forms

I am trying to use Crispy forms with Django-userena to make it look better but when ever I put the Crispy form tags in it duplicates the form, My code is as followed: {% extends 'userena/base_userena.html' %} {% load i18n %} {% load url from future…
Blezx
  • 614
  • 2
  • 6
  • 19
1
vote
0 answers

overriding Userena EditProfileForm with autocomplete_light

I'm using the following code to change a standard implementation of profiles with userena: from django import forms from django.utils.translation import ugettext_lazy as _ from userena.forms import EditProfileForm import autocomplete_light import…
1
vote
1 answer

Django userena redirect after account activate

I've got userena set up and working good however I cannot seem to find a setting or method to redirect the user after they activate their account via email. By default they are directed to the userena profile page (I am trying to remove this from my…
apardes
  • 4,272
  • 7
  • 40
  • 66
1
vote
2 answers

Django: ManyToManyField not defined error

I have been trying to edit the user profile in django-userena and everything is fine except my ManyToManyFields. I have the following models set up: class MyProfile(UserenaBaseProfile): user = models.OneToOneField(User,unique=True, …
RedShirt
  • 855
  • 2
  • 20
  • 33
1
vote
2 answers

Logging in manually created userena user fails, why?

I want to be able to log in a manually created Userena user for testing: From my_app/test/test_views.py import django.test from userena.models import UserenaSignup class MyViewTestCase(django.test.TestCase): def test_login(self): …
Bentley4
  • 10,678
  • 25
  • 83
  • 134
0
votes
0 answers

django how to fetch all users in django allauth

I installed django allauth. And then build a User model in models: class User(AbstractUser): age = models.PositiveIntegerField(default=0, verbose_name='pv', blank=True) class Meta: verbose_name = "用户信息" verbose_name_plural =…
William
  • 3,724
  • 9
  • 43
  • 76
1
2 3