Hi folks--

Rank django newbie here.  After a couple of solid days of banging my
head on various brick walls, I've installed Django 0.96 on my Debian
VPS.  It's a headless co-location server, so I've set up django to be
administered via Apache2/mod-python on port 8888 (80 is our regular
active webpage-- wish I had a separate box to test on but this'll do
for now).

Like devjim, I've run into the problem of my admin page not finding
the dashboard.css.  Here's the steps I've taken so far, based on that
prior thread here:

I've added the following to my httpd.conf:

*************
Alias /media/ /usr/local/lib/python2.5/site-packages/django/contrib/
admin/media/

<Directory /usr/local/lib/python2.5/site-packages/django/contrib/admin/
media>
        Order deny,allow
        Allow from all
</Directory>
*************
...didn't make any Linux symlinks, though-- seemed redundant?

And put the following in my settings.py:

*************
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = '/usr/local/lib/python2.5/site-packages/django/contrib/
admin/media/'

# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com";
MEDIA_URL = 'http://www.rainbow.coop:8888/media'
*************

Restarting apache should reload settings.py, right?

Anyway, those were some pretty 1/4-assed efforts on my part no doubt,
but I'm tired of trying any old thing I can think of & thought someone
here who knows what they're doing might take pity on me....  Thanks
mucho in advance for anything you guys can think of!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to