i was actually already reading that page... but it's 1:00am and maybe
i glazed over it without registering :)

i've now temporarily fixed my admin page problem by just copying all
files to the apache document root, but later i will need to learn what
a "symbolic link" is as it sounds like a nicer solution

the online documentation is excellent by the way!
this is the first time ive tried web development, first time ive used
HTML, python, django, any web server, etc and ive managed to get a
basic site up and running largely thanks to the documentation

much appreciated
alex

On Jan 7, 12:52 am, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Tue, 2009-01-06 at 15:33 -0800, rabbi wrote:
> > thanks a lot malcom, that's great advice.
> > for the record, initially i had "DATABASE_NAME = 'vocab'"
>
> > i have another question; after changing from runserver to apache the
> > django admin page now looks very ugly... it's lost all formatting etc
>
> The development server helps you out (and gives false expectations in
> the process if you're not paying attention) by automatically serving up
> the CSS and Javascript files. This isn't the case when you switch to a
> real webserver, since you need to tell the webserver how to find those
> files. Django isn't going to automatically serve things like CSS,
> images, and Javascript, as they're static files and web servers can do a
> much better job serving them and providing things like expiry times than
> running it through a Python program.
>
> This is where I unfortunately have to say "read the documentation,"
> since we've spent more than a few hours writing up instructions about
> this. Have a look at
>
>        http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id1
>
> (in fact, read that whole page if you haven't done so already). You
> might need to also look up the appropriate documentation in the Apache
> manuals (e.g. if you don't know what the Location directive means), but
> hopefully things should be reasonably clear if you're already familiar
> with Apache configuration a bit and/or take your time.
>
> Regards,
> Malcolm
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to