This can (and probably should) be handled by your Web server.
For example, in nginx you may be serving the Django app with something
like this:
location / {
proxy_pass http://127.0.0.1:8400;
}
And for static content nginx may direct the request elsewhere. This
example directs
any requests ending in '.html' to a static folder.
location ~ ^/.*\.html{
root /var/www/my_static_content;
}
--
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.