#4756: Mention direct_to_template as an alternate shortcut when wanting RequestContext ------------------------+--------------------------------------------------- Reporter: SmileyChris | Owner: jacob Status: new | Component: Documentation Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 ------------------------+--------------------------------------------------- Currently the docs suggest passing a !RequestContext instance to the `render_to_response()` shortcut. But that means also importing !RequestContext which makes it a bit less "short" and the actual "cut" less concise. Perhaps we could mention using the simple generic view `direct_to_template()` as an alternate shortcut?
-- Ticket URL: <http://code.djangoproject.com/ticket/4756> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
