diff --git a/cfgov/v1/jinja2tags/__init__.py b/cfgov/v1/jinja2tags/__init__.py index 6760a3d4e60..ea94382cad1 100644 --- a/cfgov/v1/jinja2tags/__init__.py +++ b/cfgov/v1/jinja2tags/__init__.py @@ -1,5 +1,3 @@ -from django.utils.module_loading import import_string - from jinja2 import pass_context from jinja2.ext import Extension @@ -12,11 +10,6 @@ from v1.util.util import get_unique_id -def get_model(model_name): - model_class = import_string(model_name) - return model_class - - def image_alt_value(image): """Given an ImageBasic block or a CFGOVImage rendition as `image`, return the appropriate alt text. @@ -121,7 +114,6 @@ def __init__(self, environment): "category_label": ref.category_label, "choices_for_page_type": ref.choices_for_page_type, "get_category_icon": ref.get_category_icon, - "get_model": get_model, "get_unique_id": get_unique_id, "image_alt_value": image_alt_value, "is_blog": ref.is_blog,