On Mon, 12 Mar 2007 05:15:14 -0700, 骛之 张 wrote:

> hi everyone here, how to use .htc file in django
> 
> if in j2ee or nomal html file, i can define in table as <table
> style="behavior:url(/htc_path/js/TableSort.htc) url(/htc_path/js/
> TableHL.htc) url(/htc_path/js/DragDrop.htc);">
> 
> but in django, I cannot do it correctly, help me, plz

What is your issue exactly? The only problem we ran into
was the one described at <http://support.microsoft.com/kb/306231/en-us>.

The fix is webserver specific. The Django built-in development web server
will check /etc/mime.types on Unix, so editing that file is sufficient.

On Windows, you have to do a bit more work (as usual): edit python's
mimetypes.py so that it searches for the mime.types file in a known
location, then create a mime.types file at that location with the correct
contents.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


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

Reply via email to