Boolean fields not displaying correctly in checkboxes. · Issue #3258 · encode/django-rest-framework (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@mcastle

Description

@mcastle

When editing a single user with the Admin browser or API HTML Form, the Superuser Status and Staff Status are checked by default, even if the user's is_superuser and is_staff are both False.

Furthermore, neither the Admin browser nor the API HTML Form allow setting those attributes to False if they are currently set to True. The only way to set these attributes to False is through the Raw data form.