wiz wrote:
> On 5/24/06, Mary Adel <[EMAIL PROTECTED]> wrote:
>> How could i return the data from the database in a xml file with certain
>> format using the views in Django
> You can use generic_views + templates for printing XML in your format.
> Or views + some pythonic XML-streamer.
> 
> > 
Is there a way to set the correct MIME type though for generic views? If
not a normal view would suffice setting the content type and using
normal templates to output the structure. A lot easier than my previous
suggestion.

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