1๐
โ
I would say that it depends on how much you want to overwrite.
If you create an admin directory under your static directory those files will be read before the actual admin files.
if this is your structure:
root
appname
static
css
js
you should create it like this:
root
appname
static
admin
img
icon_success.gif
css
js
Name has to be exact.
0๐
The django package is hosted on your server. Have you considered changing the images for icon_error.png
and icon_success.png
, then resaving them with the same name on your filesystem?
The location where you can find the static image files within the django package is:
/ django / django / contrib / admin / static / admin / img /
๐คNick
- [Answer]-Django passing view url variables inside a template
- [Answer]-Django and external sqlite db driven by python script
- [Answer]-Best way to list subcategories on a Django template (ManyRelatedManager not Iterable)
Source:stackexchange.com