Sunday, 18 August 2013

How to distinguish responses by mime-type in Django class-based view?

How to distinguish responses by mime-type in Django class-based view?

In class based view I can define method for GET or for POST. Can I somehow
define special methods for different mime-types of responses?
Use case is - make AJAX site usable even if JS is turned off.

No comments:

Post a Comment