Closed r51303 closed 1 year ago
There is no problem with the http://semantic-admin.com demo.
What Django version are you using?
There is no problem with the http://semantic-admin.com demo.
What Django version are you using?
Hi, @globophobe
Here is my django version
$ django-admin --version
4.1.7
The demo is curently 4.1.6 The checkboxes require semantic_admin/static/admin/js/actions.js to be loaded.
In my local environment, I updated to Django 4.1.7 and ran the demo with python manage.py runserver
.
Can you confirm that actions.js is loaded, as below?
The demo is curently 4.1.6 The checkboxes require semantic_admin/static/admin/js/actions.js to be loaded. In my local environment, I updated to Django 4.1.7 and ran the demo with
python manage.py runserver
.Can you confirm that actions.js is loaded, as below?
Awesome, I check that file (action.js) is not load. And find my static file have not seen that file.
So,
I'm running command
$ python manage.py collectstatic
And, ctrl+F5 refresh my web page.
It's working now!!
Thanks for helping me a lot.
As title, when I change my admin model to SemanticModelAdmin my check all box is not working anyway.
But, if using DefaultModelAdmin, check all work again.
Very hard to debug, because there is no console error in chrome and have not any error show up everywhere.
Please help me, thanks.