On Thu, Jun 3, 2010 at 7:10 PM, Ben Firshman <b...@firshman.co.uk> wrote: > One advantage of using __call__ over __new__ is passing arguments to > __init__. That's handy for lazily configuring views: > > (r'', DetailView(queryset=Thing.objects.all())
Why can't you use this instead: (r'', 'views.DetailView', {'queryset': Thing.object.all()}) Bye, Waldemar Kornewald -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.