you should use explicit urls rather than relying on one url and another url maintaining the same relationship over time.  It also makes for more readable code.  So,  reverse('reports_home', args=[domain])