django-jazzmin
django-jazzmin copied to clipboard
# Use modals instead of popups "related_modal_active": True,
When i trie to save my form (PopUp) with some fields of foreingkey relation, the PopUp put in white, but the register works in my DB, with "related_modal_active": False, the Modals work's OK,
An error occurs when related_modal_active
is set to True
. In the console it provides two messages:
- Refused to display 'http://127.0.0.1:8000/' in a frame because it set multiple 'X-Frame-Options' headers with conflicting values ('DENY, SAMEORIGIN').
- crbug/1173575, non-JS module files deprecated.
Try add this in your core settings.py
X_FRAME_OPTIONS = 'SAMEORIGIN'