django-suit icon indicating copy to clipboard operation
django-suit copied to clipboard

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

Open summonerriftofficial opened this issue 5 years ago • 10 comments

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

any ideas ?

summonerriftofficial avatar Aug 07 '20 19:08 summonerriftofficial

image

summonerriftofficial avatar Aug 07 '20 19:08 summonerriftofficial

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.

pedrojosep avatar Aug 14 '20 12:08 pedrojosep

answer your question is below link answer

Mahdi-Ba avatar Sep 29 '20 09:09 Mahdi-Ba

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

jesuejunior avatar Mar 01 '21 12:03 jesuejunior

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

tjerkw avatar Jun 11 '21 14:06 tjerkw

Agreed. See also my comment on #766

gamesbook avatar Nov 30 '21 18:11 gamesbook

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;
}

darklow avatar Nov 30 '21 20:11 darklow

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

pulse-mind avatar Dec 25 '21 20:12 pulse-mind

I was able to fix it by just adding

#main {
    display: flex;
}

reedjones avatar Jan 23 '24 11:01 reedjones

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

pulse-mind avatar Jan 23 '24 11:01 pulse-mind