Top "Django-users" questions

User model is the default model in Django.

How to check current user's permissions from a Group in Django?

I have a group EuropartsBuyer and model named Product. The following code adds a permission to the Product model. class …

django permissions django-users django-permissions
Django Abstract User Error

I am working on extending the User class based on the docs with the code below: from django.contrib.auth.…

django django-users
Django custom user model and usermanager

i'm building a web application with Django 1.5. I'm using a custom User model with a custom UserManager. I followed the …

python django django-models django-users
How to implement password change form in Django 1.9

The url for my python project is here: https://github.com/abylikhsanov/social I am trying to implement the password …

python django django-users
Django - User full name as unicode

I have many Models linked to User and I'd like my templates to always display his full_name if available. …

python django django-models django-users
Django: When extending User, better to use OneToOneField(User) or ForeignKey(User, unique=True)?

I'm finding conflicting information on whether to use OneToOneField(User) or ForeignKey(User, unique=True) when creating a UserProfile model …

django django-models django-users django-profiles
How do I inline edit a django user profile in the admin interface?

If you want to store extra information about a user (django.contrib.auth.models.User) in Django you can use …

django django-admin django-users
custom django-user object has no attribute 'has_module_perms'

My custom user model for login via email: class MyUser(AbstractBaseUser): id = models.AutoField(primary_key=True) # AutoField? is_superuser = …

django django-authentication django-users
Django: ImportError: cannot import name 'User'

I'm new to django and I'm facing some difficulties in creating a user from the AbstractBaseUser model. Now I'm starting …

python django django-models model django-users
Django - Multiple User Profiles

Initially, I started my UserProfile like this: from django.db import models from django.contrib.auth.models import User class …

django django-models django-users