Backport of 9c19aff7c7561e3a82978a272ecdaad40dda5c00 from main.
Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.