On Sep 1, 1:32 am, Davor Lučić <[EMAIL PROTECTED]> wrote:
> If you are using Apache you can use mod_rewrite.
>
> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
>
> On Aug 31, 10:08 pm, Robert <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I just got done reading through the 4 django tutorials and they were
> > very helpful. However, I did not find out through the tutorials alone
> > how to serve CSS files along with my HTML. I was told in IRC that
> > these are not directly handled by django.
>
> > Basically, my main concern is keeping my website source code
> > centralized. At the moment, I keep my django project & respective apps
> > in Subversion, and I want my static files (CSS) to be in there with
> > the rest of the django files.
>
> > Having said this, I'm not sure how to configure apache to look for
> > those CSS files. Say my django project is in /srv/django/myproject,
> > and my document root is in /srv/http, what must be done? If this is
> > covered in the documentation, I apologize for wasting the community's
> > time and would appreciate a direct link to the materials I need to
> > read.
>
> > Thanks in advance.

Thanks for the help guys. I'm guessing javascript files are also
considered static, since they're referenced by the HTML as well?
--~--~---------~--~----~------------~-------~--~----~
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