Re: [Django] #32119: Broken admin interface after 3.1 update

15 views
Skip to first unread message

Django

unread,
Oct 18, 2020, 10:52:35 AM10/18/20
to django-...@googlegroups.com
#32119: Broken admin interface after 3.1 update
-------------------------------+--------------------------------------
Reporter: Zvi Baratz | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution:
Keywords: Admin CSS | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Zvi Baratz:

Old description:

> Hi all,
>
> Thank you for all your amazing work on this project.
>
> I finally migrated my project today from 3.0 to 3.1 and am now getting a
> broken admin interface. The landing page looks fine but whenever I try to
> access any of the `list` or `change` views it seems like the new
> navigation bar might be taking over the entire screen.
>
> [[Image(https://ibb.co/BnfFrhm)]]
>
> Thanks again!
> Zvi

New description:

Hi all,

Thank you for all your amazing work on this project.

I finally migrated my project today from 3.0 to 3.1 and am now getting a
broken admin interface. The landing page looks fine but whenever I try to
access any of the `list` or `change` views it seems like the new
navigation bar might be taking over the entire screen.

Here is an example when trying to view one of my admin site list views:
[[Image(https://ibb.co/BnfFrhm)]]

Thanks again!
Zvi

--

--
Ticket URL: <https://code.djangoproject.com/ticket/32119#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 18, 2020, 2:07:18 PM10/18/20
to django-...@googlegroups.com
#32119: Broken admin interface after 3.1 update
-------------------------------+--------------------------------------
Reporter: Zvi Baratz | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution: duplicate

Keywords: Admin CSS | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

It looks like a duplicate of #31909, please check the list of context
processors, see [https://code.djangoproject.com/ticket/31909#comment:4
comment].

--
Ticket URL: <https://code.djangoproject.com/ticket/32119#comment:2>

Django

unread,
Oct 20, 2020, 8:24:20 AM10/20/20
to django-...@googlegroups.com
#32119: Broken admin interface after 3.1 update
-------------------------------+--------------------------------------
Reporter: Zvi Baratz | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution: duplicate
Keywords: Admin CSS | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Zvi Baratz):

Unfortunately, I already tried both to force-refresh and manually clear
the cache. I also validated the relevant settings:

{{{
MIDDLEWARE = [
"whitenoise.middleware.WhiteNoiseMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"corsheaders.middleware.CorsMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]

TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [os.path.join(BASE_DIR, "templates")],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
"django.template.context_processors.debug",
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"django.template.context_processors.media",
]
},
}
]
}}}
As far as I understand everything seems to be OK but I'm still getting the
same result.

--
Ticket URL: <https://code.djangoproject.com/ticket/32119#comment:4>

Django

unread,
Nov 15, 2020, 8:48:58 AM11/15/20
to django-...@googlegroups.com
#32119: Broken admin interface after 3.1 update
-------------------------------+--------------------------------------
Reporter: Zvi Baratz | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution: duplicate
Keywords: Admin CSS | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Zvi Baratz):

Replying to [comment:5 Mariusz Felisiak]:
> I'm sorry but we cannot reproduce this issue. Can you provide a small
sample project?

Well, this is embarrassing. I simply neglected to remove my old static
files directory. Sorry and thank you.

--
Ticket URL: <https://code.djangoproject.com/ticket/32119#comment:6>

Reply all
Reply to author
Forward
0 new messages