On 18 Apr, 23:05, SmileyChris <[EMAIL PROTECTED]> wrote: > I'm not sure this is really adding that much. Why can't you just use > reverse as it stands? It doesn't seem hard to do: > >>> some_id = 1 > >>> reverse(some_view, kwargs=dict(id=some_id)) > '/event/1/' > or: > >>> reverse(some_view, args=[some_id]) > '/event/1/'
Yeah, that works just fine. But a shortcut feels a little nicer. Just as I prefer: return render_to_response(template_name, context, RequestContext(request)) to: return HttpResponse(loader.render_to_string(template_name, context, RequestContext(request))) M. -- Matt Riggott (mailto:[EMAIL PROTECTED]). Dictated but not read. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---