In regex, \d is [0-9]. This user_id is passed to the view as a parameter. def viewname(request, user_id): user = User.objects.get(id= ...
確定! 回上一頁