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

Re: Default mimetype

2009-04-11 Thread Malcolm Tredinnick
On Fri, 2009-04-10 at 23:40 -0700, Roman Timushev 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

Re: Default mimetype

2009-04-11 Thread Alex Koshelev
tion/ > 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

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 m