def share(request, addon): """Add-on sharing""" return share_redirect(request, addon, addon.name, addon.summary)
def share(request, addon): """Add-on sharing""" return share_redirect(request, addon, addon.name, addon.summary)
def share(request, addon): """Add-on sharing""" return share_redirect(request, addon, name=addon.name, description=truncate(addon.summary, length=250))
def share(request, addon_id): """Add-on sharing""" addon = get_object_or_404(Addon.objects.valid(), id=addon_id) return share_redirect(request, addon, name=addon.name, description=truncate(addon.summary, length=250))
def share(request, addon): """Add-on sharing""" return share_redirect(request, addon, name=addon.name, description=truncate(addon.summary, length=250))
def share(request, app_slug): webapp = get_object_or_404(Webapp, app_slug=app_slug) return share_redirect(request, webapp, webapp.name, webapp.summary)
def share(request, app_slug): webapp = get_object_or_404(Webapp, app_slug=app_slug) return share_redirect(request, webapp, webapp.name, webapp.summary)