Ignore empty args/kwargs in middleware.
Ignore empty args/kwargs in middleware.

When using with $resource parametrized urls, if a :param isn't set, we get a empty string instead. Such args and kwargs should be ignored and not passed to reverse() call.

jrief/django-angular,dpetzold/django-angular,dpetzold/django-angular,jrief/django-angular,jrief/django-angular