How can I make a django queryset persistent across all my templates?
For example: I want a list of all users to be available on every template no matter if I call the queryset or not in each template view.
Right now I'm doing this on every single view of my app:
users = User.objects.values_list('first_name','id')
users_json = simplejson.dumps(list(users), cls=DjangoJSONEncoder)
There must be a better way: