mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -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:
@@ -52,12 +52,11 @@ from app.s3_client.s3_csv_client import (
|
||||
from app.template_previews import TemplatePreview, get_page_count_for_letter
|
||||
from app.utils import (
|
||||
PermanentRedirect,
|
||||
Spreadsheet,
|
||||
get_errors_for_csv,
|
||||
get_template,
|
||||
should_skip_template_page,
|
||||
unicode_truncate,
|
||||
)
|
||||
from app.utils.csv import Spreadsheet, get_errors_for_csv
|
||||
from app.utils.templates import get_template
|
||||
from app.utils.user import user_has_permissions
|
||||
|
||||
letter_address_columns = [
|
||||
|
||||
Reference in New Issue
Block a user