app/soc/views/helper/responses.py
changeset 2358 e5821b87f6e3
parent 2333 221482a54238
child 2393 7fe19ebfe0d3
equal deleted inserted replaced
2357:f7b0c04e1e81 2358:e5821b87f6e3
    35 from soc.logic.models.user import logic as user_logic
    35 from soc.logic.models.user import logic as user_logic
    36 from soc.modules import callback
    36 from soc.modules import callback
    37 from soc.views import helper
    37 from soc.views import helper
    38 from soc.views.helper import redirects
    38 from soc.views.helper import redirects
    39 from soc.views.helper import templates
    39 from soc.views.helper import templates
    40 from soc.views.sitemap import sidebar
       
    41 
    40 
    42 
    41 
    43 def respond(request, template, context=None, response_args=None,
    42 def respond(request, template, context=None, response_args=None,
    44             response_headers=None):
    43             response_headers=None):
    45   """Helper to render a response, passing standard stuff to the response.
    44   """Helper to render a response, passing standard stuff to the response.