In addition to many other useful answers, I had a problem that has not yet been noted. After upgrading from Django 1.3 to 1.6, my static files directory had a broken symbolic link to static django admin files.
Settings.py settings have been configured with:
STATICFILES_DIRS = ( '/var/www/static/my-dev', )
According to this answer ,
Now Django expects to find static admin files at the URL / admin /.
I had a symbolic link /var/www/static/my-dev/admin that was set to:
admin -> /usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/
This place no longer exists in django 1.6, so I updated the link to:
admin -> /usr/local/lib/python2.7/dist-packages/django/contrib/admin/static/admin/
And now my admin site is working correctly.
cod3monk3y Dec 05 '13 at 19:34 2013-12-05 19:34
source share