django admin windows/linux is different

Hi at all!

I am pretty new to Django but I have noticed that the same project started on a windows environment is different from the same project started on a linux environment.
Anyone knows why?

With windows there are the “skip to main content” label and a search field… why?

Both the server are running on the same machine, the first one via powershell:
python.exe .\manage.py runserver 3000

The second one via ubuntu with wsl:
python3 manage.py runserver 4500

Thank you all!

silly questions but:
. are you 100% certain the same django versions are running in your two different environments?
. have you properly run collectstatic on both environments? (well no need there since you’re using the dev server)

Thank you!
The version were differents!
Now they are equal and both have the search field!
The skip to main content is disappeared everywhere!

cool :slight_smile:

maybe it was a 4.1.x to 4.2.x transition?

In ubuntu was 3.2.12
I thougth the “python3 -m pip install Django” command would have downloaded the last version…
Now with “python3 -m pip install -U Django” I have the 4.2.2 version like in windows.
Thank you!

do you have a requirements.txt file?

very useful!

pip install -r requirements.txt
1 Like