Obtenha URL atual com parâmetros url django
{% url 'listing' listing_id=listing.id path=request.get_full_path %}
Talented Thrush
{% url 'listing' listing_id=listing.id path=request.get_full_path %}