10 lines
No EOL
173 B
Python
10 lines
No EOL
173 B
Python
from django.template import Library
|
|
|
|
from ..static import STATION_URLS
|
|
|
|
|
|
register = Library()
|
|
|
|
@register.simple_tag
|
|
def stationurl(station):
|
|
return STATION_URLS[station] |