Skip to content Skip to sidebar Skip to footer

After An Upgrade From Django 1.11 To Django 3.1 Django Admin Shows List Of Models On Top Of Internal Items

After an upgrade from Django 1.11 (python2.7) to Django 3.1 (python3.6) on Centos7, django admin still shows the list of models on top of the page, above the list of items in this

Solution 1:

maybe you need to re-run collectstatic command

python manage.py collectstatic

refer to https://docs.djangoproject.com/en/3.1/ref/contrib/staticfiles/#collectstatic for more options, but --clear is the one that may helps you:

python manage.py collectstatic --clear

to clear Clear the existing files before trying to copy or link the original file.

Post a Comment for "After An Upgrade From Django 1.11 To Django 3.1 Django Admin Shows List Of Models On Top Of Internal Items"