mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 06:43:12 -04:00
Extract letter utility code into own module
This provides more room for expansion, and reduces the amount of arbitrary code in the __init__.py file for the new package.
This commit is contained in:
@@ -37,12 +37,14 @@ from app.utils import (
|
||||
generate_next_dict,
|
||||
generate_notifications_csv,
|
||||
generate_previous_dict,
|
||||
get_letter_printing_statement,
|
||||
get_page_from_request,
|
||||
parse_filter_args,
|
||||
printing_today_or_tomorrow,
|
||||
set_status_filters,
|
||||
)
|
||||
from app.utils.letters import (
|
||||
get_letter_printing_statement,
|
||||
printing_today_or_tomorrow,
|
||||
)
|
||||
from app.utils.user import user_has_permissions
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user