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:
@@ -39,11 +39,8 @@ from app.main.views.send import get_sender_details
|
||||
from app.models.service import Service
|
||||
from app.models.template_list import TemplateList, TemplateLists
|
||||
from app.template_previews import TemplatePreview, get_page_count_for_letter
|
||||
from app.utils import (
|
||||
NOTIFICATION_TYPES,
|
||||
get_template,
|
||||
should_skip_template_page,
|
||||
)
|
||||
from app.utils import NOTIFICATION_TYPES, should_skip_template_page
|
||||
from app.utils.templates import get_template
|
||||
from app.utils.user import user_has_permissions, user_is_platform_admin
|
||||
|
||||
form_objects = {
|
||||
|
||||
Reference in New Issue
Block a user