I tried different methods to setup X-Frame-Options to 'SAMEORIGIN' in the Django-server responses, but it wasn't help:
X_FRAME_OPTIONS='SAMEORIGIN'
to settings.py<iframe>
@xframe_options_sameorigin
decorator to my view.Header always set X-Frame-Options "SAMEORIGIN"
into it.Then I tried to restart apache2 service after all my actions but the result always the same:
X-Frame-Options setted as 'DENY'
My Django version is 2.2.4.
Sorry, some of this methods have worked. Update of browser page has not worked at first time, but after few minutes, it has worked. All done, thank you.