'Return custom and UserProfileAdmin urls.'

def get_urls(self):

    def wrap(view):
        def wrapper(*args, **kwargs):
            return self.admin_site.admin_view(view)(*args, **kwargs)
        return update_wrapper(wrapper, view)
    urls = super(UserProfileAdmin, self).get_urls()
    urls += [url('index_profiles', wrap(self.index_profiles), name='users_index_profiles'), url('check_celery', wrap(self.check_celery), name='users_check_celery')]
    return urls
