Hi guys,

I was just doing some work, and I noticed that passing args and kwargs
to reverse raises an exception which explicitly tells me not to do
that:
        if args and kwargs:
            raise ValueError("Don't mix *args and **kwargs in call to
reverse()!")
I don't see an obvious reason for this to be the case, and looking at
the end of the method, if search fails then a NoReverseMatch exception
is raised with error text that leads me to believe that either at one
point args and kwargs were mixable, or people would like them to be.

I'm a far cry from a django developer, but I could probably rustle up
a patch to make args and kwargs acceptable for reverse toward the end
of next week if someone hasn't already done this and it's considered
desirable.

Cheers,

Alex

--~--~---------~--~----~------------~-------~--~----~
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 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to