Commits

Mikhail Korobov committed 87eaf62

Correct mimetype default value. Fix #8.

Comments (0)

Files changed (1)

annoying/decorators.py

         return inner
 
 
-def render_to(template=None, mimetype="text/html"):
+def render_to(template=None, mimetype=None):
     """
     Decorator for Django views that sends returned dict to render_to_response 
     function.