Fix namespaced urls

I am not quite sure is this is the right order, and wether it is possible that a NoReverseMatch is raised. It works for my urls with an app_name though