On Fri, Oct 24, 2008 at 6:56 AM, Niall Mccormack <
[EMAIL PROTECTED]> wrote:

>
> Is it possible to tell Django to ignore certain url's so that it
> resorts to showing what is on the server at that url.
>
> i.e. if I have a file at the url
> http://www.mywebsite.com/myfiles/image.jpg
>
> Can I instruct Django to ignore the /myfiles/ url so I can link
> directly to that file?
>
>
The place to do this is in the web server configuration.  You configure it
so that such files are served directly rather than sending the request
through Django.  Unless you are talking about the Djagno development server;
there you can use the static server to serve these files.  Search for
"static files" in the docs for details on how to do that.

Karen

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