mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-13 08:07:03 +02:00
Add documentation and refactor custom filtering
This commit is contained in:
parent
7dafc863c0
commit
f6e10b6585
12 changed files with 61 additions and 33 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue