I'm pretty new to Django and I'm working on a site where I want the user to be able to filter out objects based on the objects' timestamp. I could easily do the filtering in views.py and reload the template, but how should I do this filtering client side?
Would it be a good idea to just load everything:
{% for obj in all_objects %}
<p>{{obj.time}}</p>
{% endfor %}
and then use javascript to hide and show the relevant objects? I don't expect more than 1,000 objects.
I've taken a look at this: http://dustindavis.me/dynamic-filtered-drop-down-choice-fields-with-django.html and the author says that he would use AngularJS instead of a custom AJAX solution.
Is Angular my best choice or are there other frameworks that are easier to integrate with Django?