Change url to be:

url(r'^(?P<pk>\d+)/variants/sets/upload/$',