mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Extract template / csv utility code into modules
This follows a similar approach to the previous commits, noting that one module depends on the other, so we have to extract both together.
This commit is contained in:
@@ -37,16 +37,16 @@ from app.template_previews import get_page_count_for_letter
|
||||
from app.utils import (
|
||||
DELIVERED_STATUSES,
|
||||
FAILURE_STATUSES,
|
||||
generate_notifications_csv,
|
||||
get_help_argument,
|
||||
get_template,
|
||||
parse_filter_args,
|
||||
set_status_filters,
|
||||
)
|
||||
from app.utils.csv import generate_notifications_csv
|
||||
from app.utils.letters import (
|
||||
get_letter_printing_statement,
|
||||
get_letter_validation_error,
|
||||
)
|
||||
from app.utils.templates import get_template
|
||||
from app.utils.user import user_has_permissions
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user