I got the look and feel back by substituting this:
# URL prefix for admin media -- CSS, JavaScript and images.
ADMIN_MEDIA_PREFIX = BASE_URL + '/media/'
and yet the other value did work
ADMIN_MEDIA_PREFIX = BASE_URL + 'media/admin/'
Oh, well. Thanks for the answers.
On Jan 28, 10:04 am, octop
In addition, I can't get the built-in server to serve the admin's look
and feel. I see that as a good thing, because clearly it's a wrong
setting that affects both servers. Here are the settings again.
# Main URL for the project
BASE_URL = 'http://localhost:8002'
# Absolute path to the directory
After making this change, I got the admin interface's look and feel,
and then put back the original and did not get the look and feel, When
I put this change back ADMIN_MEDIA_PREFIX = BASE_URL + 'media/admin/',
I no longer get the look and feel. I've cleared the cache and
rebooted. It looks like th
Try this:
ADMIN_MEDIA_PREFIX = BASE_URL + 'media/admin/'
On Jan 28, 1:48 am, octopusgrabbus wrote:
> I am referring to Django's admin site. By not loading correctly, I
> mean the admin site works, but does not display the nice look and feel
> that displays when using Django's built in web server
I am referring to Django's admin site. By not loading correctly, I
mean the admin site works, but does not display the nice look and feel
that displays when using Django's built in web server.
"Do the static files (css, js) not load? Then maybe your paths in
settings.py are not configured properly
Hi Octopus,
What do you mean by: "won't load correctedly"?
Is there an admin interface at /admin/ ? If not, did you enable the
admin in your settings.py and in your urls.py?
Is there one or more object missing from the admin interface? If there
is one missing, maybe you've made an error in your
I am running Django 1.2.4 and mod_wsgi. My application is running
fine.
My admin won't load correctly.
wsgi_handler.py
---
import os
import sys
PROJECT_ROOT = os.path.realpath(os.path.dirname(__file__))
sys.path.append(PROJECT_ROOT)
sys.path.append(os.path.join('/home/amr/djan
7 matches
Mail list logo