how to split everything url after first slash in django code example Example: python everything after last slash url.rsplit('/', 1)[-1]