diff --git a/awx/templates/error.html b/awx/templates/error.html
index 69fade819e..81e54fe434 100644
--- a/awx/templates/error.html
+++ b/awx/templates/error.html
@@ -1,5 +1,5 @@
{% extends "rest_framework/api.html" %}
-{% load i18n staticfiles %}
+{% load i18n static %}
{% block title %}{{ name }} · {% trans 'AWX' %}{% endblock %}
diff --git a/awx/templates/rest_framework/login.html b/awx/templates/rest_framework/login.html
index c9c5d64030..343d8a6ce0 100644
--- a/awx/templates/rest_framework/login.html
+++ b/awx/templates/rest_framework/login.html
@@ -1,6 +1,6 @@
{# Partial copy of login_base.html from rest_framework with AWX change. #}
{% extends 'rest_framework/api.html' %}
-{% load i18n staticfiles %}
+{% load i18n static %}
{% block breadcrumbs %}
{% endblock %}