Top "Django-users" questions

User model is the default model in Django.

ValueError in Django when running the "python manage.py migrate" command

I needed to add more fields to Django's User model, so I created a custom model class (named Accounts in …

django django-models django-migrations django-users
django custom user model password is not being hashed

I have my own custom User model, and its own Manger too. models: class MyUser(AbstractBaseUser, PermissionsMixin): email = models.EmailField(…

django hash django-admin django-users django-permissions
AbstractUser Django full example

I am new to Django and I have been trying this for weeks, but could not find a way to …

django python-2.7 django-models django-users django-1.5
Django User model, adding function

I want to add a new function to the default User model of Django for retrieveing a related list of …

django django-models django-users
Django how to delete user's profile and posts and all assocation after user deleted?

I'm writing a django project. And want to know after user deletes his own account, is there a way django …

django django-models django-users
setting expiration time to django password reset token

I am using the inbuilt password reset functionality of Django which emails the user the password reset link. Is there …

python django django-users
FieldError at /admin/ - Unknown field(s) (added_on) specified for UserProfile

I'm using a custom user model in Django. The model works fine and is able to create a user. But …

python django django-models django-admin django-users
Extending User object in Django: User model inheritance or use UserProfile?

To extend the User object with custom fields, the Django docs recommend using UserProfiles. However, according to this answer to …

django django-users
Django 1.5 custom User model error. "Manager isn't available; User has been swapped"

I extend the django user model as described in the dev doc. I wan't to keep most of the original …

django django-admin django-users
Creating users in django (NOT NULL constraint failed: auth_user.last_login)

I'm coding a web app with django and now I'm starting to handle users. I'm trying to do the easy …

django django-users