Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 485 Bytes
from lettuce.django import django_url
def path_to(page_name):
return django_url(
{
'the NSI home page': '/',
'the about page': '/sobre',
'the projects page': '/projetos',
'the page list all current members': '/membros',
'the news page': '/noticias',
'the tools page': '/ferramentas',
'the tool page': '/ferramenta',
'page that list all former members': '/ex-membros',
}[page_name])
Jump to Line
Something went wrong with that request. Please try again.