http://www.djangoproject.com/documentation/static_files/

On Mar 27, 9:28 pm, "Brian Armstrong" <[EMAIL PROTECTED]> wrote:
> Greg,  check out settings.py.  CSS counts as media -- it's a static
> file you want to serve up to the outside.  The exact details of how
> this works depend on how the server you're on is set up, but
> essentially you have two options.  You go into settings.py and fill in
> values for media_root and media_url. If your setup is like many, then
> what you're probably going to do is create a subdomain for static
> media like CSS (media.yourdomain.com, possibly) and then put that in
> for media_url.  media_root is the absolute path to the folder that
> holds the media subdomain.  In that case, you're going to point to the
> media subdomain in the <link> line like
> media.yourdomain.com/style.css.  I hope that made sense. :)
>
> This only counts if you're using a real server.  I don't know how you
> get CSS on the dev server, or if you even can.
>
> --Brian
--~--~---------~--~----~------------~-------~--~----~
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