1. Luke Plant
  2. django

Commits

za...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed f13073d

[soc2009/admin-ui] fixing a bad import

  • Participants
  • Parent commits 493093a
  • Branches soc2009/admin-ui

Comments (0)

Files changed (1)

File django/contrib/admin/views/autocomplete.py

View file
  • Ignore whitespace
 from django.utils.encoding import smart_str
 from django.http import HttpResponse, HttpResponseNotFound
 from django.conf import settings
-from django.contrib.admin.views import staff_member_required
+from django.contrib.admin.views.decorators import staff_member_required
  
 def foreignkey_autocomplete(request, related_string_functions=None):
     """