|
I want to use the logo here, but when I add it in the admin-interface theme it only shows the top left 20 pixels or so. I have tried setting max height and width but no change. After loading the file does show in /admin-interface/ |
Replies: 2 comments 6 replies
|
Height or width are not the problem: this is not a style issue, we can see your browser’s icon that shows the file could not be loaded. |
|
Ok the problem was in my urls.py. Here is the working version. ` urlpatterns = [ ] if settings.DEBUG: Although I saw that in the current version of Django if debug is not needed. This works anyway. |




Height or width are not the problem: this is not a style issue, we can see your browser’s icon that shows the file could not be loaded.
If you look at the page HTML (with browser devtools: right click → inspect element), what URL is in the element
<img src="...">?If you open that URL in your browser, what do you get?
Is your project correctly configured for django media (uploaded) files?