python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Custom labels - Django auth user model - ModelForm
I'm trying to set custom labels for a UserCreationForm in Django. I've tried to follow the docs and searched on here. Only the first label changes via the labels dictionary I created. org.label at the...
A Ali
Votes: 0
Answers: 1
Class-Based View of 'User' model auto-authenticates user
I've made a class-based view (DetailView) of app user's profile and for some reason anyone who visits the view is automatically considered authenticated even without entering any credentials. This hap...

S_py_go_Xru
Votes: 0
Answers: 2
DRF Throttling behaving extremely inconsistently?
I've been using an extremely basic user throttle rate with my DRF API and have been getting just... nonsensical results when I try to run benchmark tests.
For instance, when I set the throttle to 15/d...
codecodecode
Votes: 0
Answers: 1
Error while trying to switch the identifier to email in Django User model
I want to change the unique identifier of Django's User model from Username to Email so I write this:
models.py:
from django.db import models
from django.contrib.auth.base_user import BaseUserManager
...

Omid Shojaee
Votes: 0
Answers: 0