Re: Django + XUL

2006-12-25 Thread Alagu Madhu
Django + xul - woking fine.The code is bellow. view.py : from django import http def index(request): resp = http.HttpResponse() resp.headers['Content-Type'] = 'application/vnd.mozilla.xul+xml' resp.write('') resp.write('') resp.wri

Re: Django + XUL

2006-12-25 Thread Igor Guerrero
http://igordevlog.blogspot.com/2006/12/xulxml-based-user-interface-language.html That works to me!!! Spanish... sorry(is my blog and it is in my native language) :D The Django developers have a plan of make a XUL-forms implementation in Django as an alternative to AJAX? A nice idea for the nex

Re: Django + XUL

2006-12-25 Thread Alagu Madhu
Jacob Kaplan-Moss wrote: On 12/24/06 11:24 PM, Alagu Madhu wrote: > How to use XUL (templates) in Django ? Write a template that returns XUL instead of HTML. You might want to check out chapter 11 of the Django book, which deals with generating non-HTML content: http://www.djangobook.com/en/b

Re: Django + XUL

2006-12-25 Thread Jeremy Dunck
On 12/25/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: Write a template that returns XUL instead of HTML. You might want to check out chapter 11 of the Django book, which deals with generating non-HTML content: http://www.djangobook.com/en/beta/chapter11/ You'll also want to set the Conten

Re: Django + XUL

2006-12-25 Thread Jacob Kaplan-Moss
On 12/24/06 11:24 PM, Alagu Madhu wrote: How to use XUL (templates) in Django ? Write a template that returns XUL instead of HTML. You might want to check out chapter 11 of the Django book, which deals with generating non-HTML content: http://www.djangobook.com/en/beta/chapter11/ Jacob -

Django + XUL

2006-12-25 Thread Alagu Madhu
How to use XUL (templates) in Django ? --~--~-~--~~~---~--~~ 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 e

Re: Re: Django + XUL

2006-08-31 Thread Jeremy Dunck
On 8/31/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 8/31/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > 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: > > You

Re: Re: Django + XUL

2006-08-31 Thread James Bennett
On 8/31/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > 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: You could also render XUL with the template system. -- "May the forc

Re: Django + XUL

2006-08-31 Thread Jeremy Dunck
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

Django + XUL

2006-08-31 Thread Alagu Madhu
I'm looking for django + xul example or reference. --~--~-~--~~~---~--~~ 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 unsubs