On 8/31/06, Alagu Madhu <[EMAIL PROTECTED]> wrote:
>
> I'm looking for django + xul example or reference.

I don't think you'll find it.

Django view functions just want HTTPResponses back; the response body
is passed as either as string or an iterator over strings; you can
override the MIME type like so:

from django.http import HTTPResponse

def test_view(request):
  response = HTTPResponse("Your XUL CODE HERE")
  response.META['CONTENT_TYPE']= 'application/vnd.mozilla.xul+xml'
  return response

If that's not what you're looking for, can you be more specific?

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

Reply via email to