Open cobia opened 2 years ago
UPDATE: It does the same in Django==4.0.3
@cobia I could not replicate the bug:
Can you try on different browsers?
I'm on Zorin OS and tried in the following browsers:
Firefox: 98.0.2 (64-bit) Chrome: 99.0.4844.84 (Official Build) (64-bit) Chromium: 100.0.4896.60 (Official Build, ungoogled-chromium) (64-bit) Microsoft Edge: Version 99.0.1150.55 (Official build) (64-bit)
In all browsers, i get this message in the devtools console:
Hope that helps.
So I've tried to add some code in settings.py... to allow method in the server ngix and to fix that error:
Refused to display <ip> in a frame because it set 'X-Frame-Options' to 'deny'.
Add this in settings.py:
X_FRAME_OPTIONS = 'ALLOWALL'
XS_SHARING_ALLOWED_METHODS = ['POST','GET','OPTIONS', 'PUT', 'DELETE']
@FraCata00 , I tried adding those settings but didn't work for me.
@cobia So I think the problem is in build_min.js because gettext is undefined... and that's become django doesn't have any gettext associated (I think...)
The form fields for adding permissions to groups and users does not work as it did in the original django-jet. I;m not sure if it should work differently but in it's current state I cannot add permission. I'm using Django 3.2.12 and django-jet-reboot=1.3.0. Screenshot is attached.