简体   繁体   中英

Remove AUTH user from right sidebar in DJANGO JAZZMIN admin panel

enter image description here

Hello there!

I want to remove Auth user from left side bar as show in picture above. Is it possible?

I made this with css only:

  1. Create a file: your-static-folder/css/custom-theme.css
  2. Put this style:
.user-panel {
    display: none !important;
}
  1. In your settings.py, add:
JAZZMIN_SETTINGS = {
    ...
    "custom_css": 'css/custom-theme.css',
    ...
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM