Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
leftover production edits
  • Loading branch information
modilabs-starscream committed Aug 3, 2013
1 parent e315217 commit 710b405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uis_r_us/views.py
Expand Up @@ -102,7 +102,7 @@ def dashboard(request, reqpath):
context.site_title = "NMIS Nigeria"
lga = None
# context.active_districts = active_districts()
context.nav_zones = get_nav_zones(filter_active=True)
context.nav_zones = get_nav_zones
mls = []
for map_layer in MapLayerDescription.objects.all():
mls.append(model_to_dict(map_layer))
Expand Down Expand Up @@ -142,7 +142,7 @@ def get_nav_zones(filter_active=False):
filter(facility_count__gt=0). \
values('unique_slug', 'name', 'state_id', 'slug')
else:
lga_list = LGA.objects.all().values('unique_slug', 'name', 'state_id')
lga_list = LGA.objects.all().values('unique_slug', 'name', 'state_id', 'slug')
states = {}
for state in state_list:
sid = state.pop('id')
Expand Down

0 comments on commit 710b405

Please sign in to comment.