Wykres commitów

5 Commity (7b37822d8d0e62407045945132dc423ea286fd3f)

Autor SHA1 Wiadomość Data
Marnanel Thurman 7b37822d8d As a special case, view_for_mimetype returns the view list if the request param is None.
Tests updated.
2020-11-25 20:20:00 +00:00
Marnanel Thurman 0b98be76c4 fix logging statement 2020-11-25 19:34:28 +00:00
Marnanel Thurman 03c8c701ec view_for_mimetype() passes *args and **kwargs through to the view.
Tests updated, and tidied a bit.
2020-11-25 18:31:31 +00:00
Marnanel Thurman 3d3ce9b0f8 Add docstring to view_for_mimetype 2020-11-23 21:30:51 +00:00
Marnanel Thurman 29e6fffb1a Apparatus for choosing a Django view based on the incoming MIME type.
Not currently connected up.

Partly based on https://gist.github.com/samuraisam/2714195 ,
which is public domain.

Tests updated.
2020-11-23 21:25:03 +00:00