Fix for when no get_absolute_url on model
Fix for when no get_absolute_url on model

Was triggering attribute error in template - which didn't seem to occur in earlier
versions of Django (pre 1.4).

Have tweaked template so get_public_absolute_url inside the
"has_absolute_url" if statement (which it probably should have been
anyway).

johnsensible/django-publish,johnsensible/django-publish