Re: how to use .htc file in django

2007-03-12 Thread OudS



On 3月12日, 下午8时55分, Sam Morris <[EMAIL PROTECTED]> wrote:
> 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.

thanks to Sam Morris very much, you remind me, I look over the django
file, it seems that the Django development server does not have the
correct Multipurpose Internet Mail Extension (MIME) information for
the .htc files. The Apache Web server returns the .htc MIME type as
"www/unknown" as Apache server.

thank you again. :D


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



Re: how to use .htc file in django

2007-03-12 Thread OudS



On 3月12日, 下午9时09分, "Benjamin Slavin" <[EMAIL PROTECTED]>
wrote:

> Also, in the future, please do -not- post this type of question to the
> Django-Dev mailing list.  That list is for use by developers of Django
> itself, not problems end-users are experiencing in their own
> applications (unless, of course, the problem is because of a bug in


I have deleted the topic in django developers. thank you.


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



Re: how to use .htc file in django

2007-03-12 Thread Sam Morris

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



Re: how to use .htc file in django

2007-03-12 Thread Benjamin Slavin
It is not clear to me what you are asking.  You will need to provide
more information than "I cannot do it correctly".

However, your browser interprets the output of Django in the same way
as 'normal HTML' and J2EE application HTML output.  You should check
the HTML generated by your Django application and make sure that the
files you're referencing actually exist.  You may also need to see the
documentation at
http://www.djangoproject.com/documentation/static_files/

Also, in the future, please do -not- post this type of question to the
Django-Dev mailing list.  That list is for use by developers of Django
itself, not problems end-users are experiencing in their own
applications (unless, of course, the problem is because of a bug in
Django).

 - Ben

On 3/12/07, 骛之 张 <[EMAIL PROTECTED]> wrote:
>
> hi everyone here, how to use .htc file in django
>
> if in j2ee or nomal html file, i can define in table as  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
>
>
> >
>

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



how to use .htc file in django

2007-03-12 Thread OudS

hi everyone here, how to use .htc file in django

if in j2ee or nomal html file, i can define in table as 

but in django, I cannot do it correctly, help me, plz


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



how to use .htc file in django

2007-03-12 Thread 骛之 张

hi everyone here, how to use .htc file in django

if in j2ee or nomal html file, i can define in table as 

but in django, I cannot do it correctly, help me, plz


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