Fallback to draft URL for unpublished parents. See ixc/acmi#267
Fallback to draft URL for unpublished parents. See ixc/acmi#267

The published object being can have a parent that is not published, in
which case calling `self.parent.published()` will return `None`, and we
can't get a URL to combine prefix the object slug with, so fallback to
using the URL from the draft parent.

This change might yield un-routable URLs, but at least they might provide
a clue to users about which ancestor page needs to be published.

ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit