By the way, that is the way to get django's development server to serve
up you files, and not necessarily the best way to go when you want to
deploy your site.
Your best bet is some sort of webserver like apache or lighttpd
Jonathan
Horus Kol wrote:
> On Nov 18, 2:24 pm, Horus Kol <[EMAIL PROTECTED]> wrote:
>
>> I've searched through and through the documentation at the Django
>> site, but can't find any information about this:
>>
>> What's the recommended setup for things like stylesheets and
>> javascripts?
>>
>> How do you setup the redirects? Anything special to dealt with it in
>> the framework.
>>
>
> Answered my own question (after a bit of mucking about):
>
> r'^styles/(?P<path>.*)$', 'django.views.static.serve',
> {"document_root": "F:/projects/dvdgeist/public_html/styles"}),
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---