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