저는 예제가 단어 이상의 가치가 있다고 생각합니다.변수는 파이썬에서 함수 매개 변수로
나는이 다시 작성하려면 : 다음과 같이 어떻게 든
person = Person.objects.filter(email__contains="gmail.com")
을 :
condition = "email__contains"
person = Person.objects.filter(condition="gmail.com")
이 가능합니까?
저는 예제가 단어 이상의 가치가 있다고 생각합니다.변수는 파이썬에서 함수 매개 변수로
나는이 다시 작성하려면 : 다음과 같이 어떻게 든
person = Person.objects.filter(email__contains="gmail.com")
을 :
condition = "email__contains"
person = Person.objects.filter(condition="gmail.com")
이 가능합니까?
func(**{"kw":arg})
과 같은 의미하기 때문에 당신이대신
의 부를 수있는 장고? 그것은 당신의 모범에서 일관성없이 철자가 맞습니까? – janbrohl