docs(user-object.md): punctuation & capitalisation
This commit is contained in:
parent
71df9ea74d
commit
e07b65401e
|
@ -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():
|
||||||
|
|
Reference in New Issue