i have this view
def post_list(request,user_id=None): posts = Post.objects.all().order_by(\'-created\') if user_id: