def folder_list(request):
    folders_obj = UserFolder.objects.filter(creator=request.user
        ).select_related('creator').order_by('-modified_date').all()
folders_dict = []
for folder in folders_obj:
    d = {}
In Django 1.6.x how to get data of associated models in views?