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
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
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
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
4 matches
Mail list logo