esoergel / peacecorps

Random Hacks of Kindness - Boston
2 stars 7 forks source link

Implement filtering in get_blogs ajax handler #20

Closed esoergel closed 11 years ago

esoergel commented 11 years ago

In apps/worldmap/views.py is a view called BlogJSON that handles AJAX requests for blog entries. Currently it is unfiltered, so the get_queryset() method on that needs to be finished to implement filtering (there's some sample code commented out there now). The format for filtering can be: /map/get_blogs?country=Uganda&sector=Environment

beechnut commented 11 years ago

@esoergel -- Did you complete this? I remember you showing me filter functions, but I'm not sure whether you merged them.

esoergel commented 11 years ago

Oh yeah, I should've closed this issue. Filtering is a go.