> My problems are this.  First off, I was able to get the development
> admin working with my project fine, but when I try to serve it up
> using apache and mod_python, it's looking for the project under my
> Python25 directory (c:\dev\Python25), not in c:\dev\testproj.

I think you need to say C:\dev in your PythonPath instead of C:\dev
\testproj. Also make sure testproj has an __init__.py file, if it
doesn't already (should have been set up).
To debug, try putting a "import sys, print sys.path" debug statement
in a view & test it in the development server. That will show you what
to expect.

> Also, when I copy the project to c:\dev\Python25, I can get the admin
> interface, but without CSS.

So view the source & see where the CSS is supposed to come from. Then
try to get it by typing that address in the browser. I think you'll
find you need a leading slash in front of the mainmedia.

> And worse, even in the development server, I can't get templates to
> use my custom css files at all. I include a line like
> <link rel="stylesheet" type="text/css" href="/main.css" />
> but I've tried putting that file everywhere under the sun to no
> effect.

See source again to determine if the file is being shown to the
browser properly. I'm going to guess that it is rendering just fine,
but you probably don't have main.css set up in your urls.py file
properly.

Generally though, don't panic! Break down each problem & think it
through and you will probably be able to work it out.

 -rob


--~--~---------~--~----~------------~-------~--~----~
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