Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 1 commit
  • 1 file changed
  • 0 comments
  • 1 contributor
Jul 06, 2012
exclusion du conseil local "bourse aux livres" ab17bdf

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  fcpe/views.py
4  fcpe/views.py
@@ -27,7 +27,7 @@ def tag(request, slug):
27 27
 
28 28
 def carto(request):
29 29
     liste_conseils = []
30  
-    qs = ConseilLocal.objects.filter(code__istartswith="063").exclude(commune=None).order_by('commune__nom')
  30
+    qs = ConseilLocal.objects.filter(code__istartswith="063").exclude(commune=None).exclude(code="0634Z0090").order_by('commune__nom')
31 31
     for cl in qs:
32 32
         liste_conseils.append({"nom": cl.nom, "url": cl.get_absolute_url(), "commune": cl.commune.nom})
33 33
     return render_to_response('carto.html', {"liste_conseils": liste_conseils}, RequestContext(request))
@@ -40,7 +40,7 @@ def fiche_conseil(request, code):
40 40
 
41 41
 def conseils_geojson(request):
42 42
     communes = {}
43  
-    qs = ConseilLocal.objects.filter(code__istartswith="063").exclude(commune=None)
  43
+    qs = ConseilLocal.objects.filter(code__istartswith="063").exclude(commune=None).exclude(code="0634Z0090")
44 44
     for cl in qs:
45 45
         if not cl.commune_id in communes:
46 46
             communes[cl.commune_id] =  {

No commit comments for this range

Something went wrong with that request. Please try again.