Commit f1c9eac5 authored by fred's avatar fred

keep on exposing inactive nonstop zones

parent 325a4869
......@@ -5,7 +5,7 @@ from .models import Track
def get_nonstop_zones():
from emissions.models import Nonstop
return [(x.id, x.title) for x in Nonstop.objects.all() if x.start != x.end]
return [(x.id, x.title) for x in Nonstop.objects.all()]
def get_optional_nonstop_zones():
return [('', '')] + get_nonstop_zones()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment