-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize or remove unneeded dashboard cards? #2
Comments
Hello @sridhar562345, Try to edit the dashboard page. The link for the main dashboard is thin one https://github.com/app-generator/django-volt-dashboard/blob/master/apps/templates/home/index.html |
Hello @app-generator , I am installing it as a custom admin theme using: pip install django-admin-volt So where should I place my customized HTML file inside my Django app to override default templates? |
@sridhar562345 were you able to replace the default HTML file? |
Hi @dlopespenna, You will have to fork the repo and change the template according to your use case, that's the only way I got succeded. |
Hi @dlopespenna and @sridhar562345 TEMPLATES = [
{
'BACKEND': ...,
'DIRS': [ BASE_DIR \ 'templates' ],
},
] and then I can override the dashboard default by adding my own The documentation doesn't provide much info on working with |
I have copied templates and templatetags from the admin-volt in library to my app. I am facing issue related to templatetags. Apparently you have to add app in settings which is already in installed apps becuase it is my main app. I even renamed the templatetags py file to app name. Screenshot attached for reference. Please guide me what I am doing wrong in this case. |
How to remove unwanted dashboard information cards?
The text was updated successfully, but these errors were encountered: