docs(user-object.md): punctuation & capitalisation

This commit is contained in:
tigattack 2020-06-18 18:59:03 +01:00 committed by GitHub
parent 71df9ea74d
commit e07b65401e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -2,18 +2,18 @@
The User object has the following attributes: The User object has the following attributes:
- `username`: User's Username - `username`: User's username.
- `email` User's E-Mail - `email` User's email.
- `name` User's Display Name - `name` User's display mame.
- `is_staff` Boolean field if user is staff - `is_staff` Boolean field if user is staff.
- `is_active` Boolean field if user is active - `is_active` Boolean field if user is active.
- `date_joined` Date User joined/was created - `date_joined` Date user joined/was created.
- `password_change_date` Date Password was last changed - `password_change_date` Date password was last changed.
- `attributes` Dynamic Attributes - `attributes` Dynamic attributes.
## Examples ## Examples
List all the User's Group Names List all the User's group names:
```python ```python
for group in user.groups.all(): for group in user.groups.all():