There is no such capabilities. Write your own set of decorators that will be path response object with needed mimetype - almost DRY solution.
On Sat, Apr 11, 2009 at 10:40 AM, Roman Timushev <rtim...@gmail.com> wrote: > > Hello, > > My application serves content with different mimetypes: 'application/ > xhtml+xml', 'application/xml', 'application/json'. Specifying mimetype > for every view is not DRY. Is it possible to define default mimetype > for url groups? > > Roman > > > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---