Open lsmith77 opened 6 months ago
I am not able to reproduce it. Can you share a way to do it?
What I have tried is the example/
from this repo:
$ git clone https://github.com/cuducos/django-public-admin.git
$ cd django-public-admin
$ poetry update # and I removed pip from pyproject.toml, gonna find a fix later
$ poetry run python manage.py runserver
And then visited the dashboard at http://127.0.0.1:8000/dashboard/
Thanks for looking into this.
Something is strange in my setup, since I can override base_site.html
but index.html
doesn't seem to register any changes.
OK the issue is due to using grappelli
I am looking into how to get grappelli's dashboard's to work with public_admin: https://django-grappelli.readthedocs.io/en/latest/dashboard_setup.html?highlight=dashboard#custom-dashboard
FYI I got it to work
GRAPPELLI_INDEX_DASHBOARD = {
"django.contrib.admin.site": "rules.dashboard.CustomIndexDashboard",
"word_lists.public_admin.public_admin": "word_lists.dashboard.CustomIndexDashboard",
}
My public site sits in word_lists/public_admin/py
.
I added
public_admin
abovedjango.contrib.admin
as instructed on https://django-public-admin.readthedocs.io/en/latest/usage.html#templatesBut I am still getting the recent actions shown: