gksudo /path/to/exec
return render(request, 'ex/excursions.html',
{'list_of_excursions': Excursion.objects.all() })
{% for ex in list_of_excursions %}
{% if forloop.first %}
первона
{% endif %}
<a href="{{ ex.get_absolute_url }}">ex.name</a>
{% else %}
нифига нет екскурсий
{%endfor%}
r'^excursions$'
надо со слешем на конце писать