Django admin page layout changed with new version

Viewed 424

I am working on an existing django project where admin console is extensively used. With my latest run of package upgrade for my application admin page layout has changed.

Models have started appearing on all the pages, leaving a small space to display form fields. For example this is how form page look like now: enter image description here

Original Form view was occupying the whole page like this: enter image description here

Any clue on what has been changed and which setting to change to get back the original view?

2 Answers

Try this, open your browser and clear all the history then login back in again and it should work. I am sure the browser has cached an old version of Django admin.

I had the same problem when using version 3.1. I started a new demo app with version 2.2 to demonstrate something and when I got back to version 3.1 I got that issue, So what I did was just clear the browser history and everything came to its original state.

Related