darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.33k stars 704 forks source link

Looks like it's not working in Django V3.1 #763

Open summonerriftofficial opened 4 years ago

summonerriftofficial commented 4 years ago

Looks like it's not working in Django V3.1

any ideas ?

summonerriftofficial commented 4 years ago

image

pedrojosep commented 4 years ago

The problem is that the admin now has a sidebar that is not compatible with Suit. However, setting AdminSite.enable_nav_sidebar to False should fix the issue.

Mahdi-Ba commented 4 years ago

answer your question is below link answer

jesuejunior commented 3 years ago

There is a PR #774 I hope it solves this problem.

tjerkw commented 3 years ago

Nobody is mainting this Repo AFAIK, no PR get ever merged. I think we need a fork.

https://github.com/darklow/django-suit/issues/781#issuecomment-859611044

gamesbook commented 2 years ago

Agreed. See also my comment on #766

darklow commented 2 years ago

Django solution to remove unnecessary side menu: https://github.com/darklow/django-suit/issues/765#issuecomment-700576185

CSS fix that is needed:

.form-group .form-control-label + div .form-control-static:empty {
  display: none;
}

.changelist-form-container {
  flex: 1;
}

#toolbar + #changelist-form {
  margin-right: 2rem;
}
pulse-mind commented 2 years ago

Hi, If you want a django3.2 version it is available on my fork branch v2 And I just finished the boostrap5.1 version, it is on a branch boostrap51 but I will do a pull request soon on v2

reedjones commented 10 months ago

I was able to fix it by just adding

#main {
    display: flex;
}
pulse-mind commented 10 months ago

Hi, FYI, I will probably publish another version for Django 4.2 next month on my fork ;)