Changes between Initial Version and Version 1 of Ticket #32659, comment 2


Ignore:
Timestamp:
Apr 23, 2021, 5:47:06 PM (3 years ago)
Author:
Steven Mapes

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32659, comment 2

    initial v1  
    11I've encountered this myself tonight in one of my projects. For me the problem was caching of static files. I use Django Storages with S3 and Cloudfront and even after invalidating files on AWS and re-running collect static I get the HTTP403. If I disable django-storages it "fixes" it.  It's not a solution I can use for production.  I'm confused as to why serving static files from a different domain would be causing a 403 though /admin/autocomplete/
     2
     3*update*
     4
     5The issue is that the request hits django.contrib.admin.views.autocomplete.AutocompleteJsonView.process_request where a `KeyError` occurs for app_label because request.GET is an empty QueryDict
Back to Top