Re: Default mimetype

2009-04-13 Thread Roman Timushev
Thank you for your answers, I came to the same decision (that url cannot define mimetype), but have not thought about decorators. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Default mimetype

2009-04-11 Thread Roman Timushev
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 --~--~-~--~~~---~--~~ Yo