Add documentation and refactor custom filtering

This commit is contained in:
matthewswspence 2024-08-27 14:58:04 -05:00
parent 7dafc863c0
commit f6e10b6585
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
12 changed files with 61 additions and 33 deletions

View file

@ -62,4 +62,5 @@ The class provides the following optional configuration variables:
The class also provides helper methods:
- `get_class_name`: Returns a display-friendly class name for the terminal prompt
- `get_failure_message`: Returns the message to display if a record fails to update
- `should_skip_record`: Defines the condition for skipping a record (by default, no records are skipped)
- `should_skip_record`: Defines the condition for skipping a record (by default, no records are skipped)
- `custom_filter`: Allows for additional filters that cannot be expressed using django queryset field lookups