Commits

offline committed 78442bd

render_to docstring changes. fix #2

Comments (0)

Files changed (1)

annoying/decorators.py

 
     Parameters:
      - template: template name to use
+     - mimetype: content type to send in response headers
 
     Examples:
     # 1. Template name in decorator parameters
                                   context_instance=RequestContext(request))
 
 
-    # 2. Template name as TEMPLATE item value in return dictionary
+    # 2. Template name as TEMPLATE item value in return dictionary.
+         if TEMPLATE is given then its value will have higher priority 
+         than render_to argument.
 
     @render_to()
     def foo(request, category):