Browse Source

Fixes #1151: name 'escape' is not defined

Jeremy Stretch 9 năm trước cách đây
mục cha
commit
0fb12bcc9c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      netbox/dcim/views.py

+ 1 - 0
netbox/dcim/views.py

@@ -11,6 +11,7 @@ from django.db.models import Count
 from django.http import HttpResponseRedirect
 from django.shortcuts import get_object_or_404, redirect, render
 from django.urls import reverse
+from django.utils.html import escape
 from django.utils.http import urlencode
 from django.utils.safestring import mark_safe
 from django.views.generic import View