Added ROOT_URLCONF directly instead of subtracting the latter part of the variable