Top "Django-users" questions

User model is the default model in Django.

Extending the User model with custom fields in Django

What's the best way to extend the User model (bundled with Django's authentication app) with custom fields? I would also …

django django-models django-authentication django-users
How to use 'User' as foreign key in Django 1.5

I have made a custom profile model which looks like this: from django.db import models from django.contrib.auth.…

python django django-users
Add image/avatar field to users in django

I want that each user in my website will have an image in his profile. I don't need any thumbnails …

django avatar django-users
Django: Hide button in template, if user is not super-user

How do you get your template/view to recognize whether or not a logged in user is a super user …

django django-models django-forms django-templates django-users
get current user in Django Form

Possible Duplicate: get request data in Django form There's part of my Guest Model: class Guest(models.Model): event = models.…

django-forms django-users
request.user returns a SimpleLazyObject, how do I "wake" it?

I have the following method: def _attempt(actor): if actor.__class__ != User: raise TypeError Which is called from a view: …

python django django-users django-contrib
How to delete user in django?

This may sounds a stupid question but I have difficulty deleting users in django using this view: @staff_member_required …

python django django-users
Working with user roles in Django

I have some question In a project I have the need of work with users which are of three (may …

python django django-users user-roles multiple-users
How to create a new user with django rest framework and custom user model

I have a custom user model and I am using django-rest-framework to create API models.py: class User(AbstractBaseUser, PermissionsMixin): …

django django-rest-framework django-users
How to customize the auth.User Admin page in Django CRUD?

I just want to add the subscription date in the User list in the Django CRUD Administration site. How can …

python django django-admin django-users