]> git.0d.be Git - django-panik-nonstop.git/commitdiff
keep on exposing inactive nonstop zones
authorFrédéric Péters <fpeters@0d.be>
Thu, 28 Jun 2018 09:49:15 +0000 (11:49 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 28 Jun 2018 09:49:15 +0000 (11:49 +0200)
nonstop/forms.py

index 76ed3cecc621e23442b9f121c0105b6769bbfdd4..bf2e3fbd039e8d66ccf10173f4ac503764041866 100644 (file)
@@ -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()