[Python] Django reverser(), reverser_lazy() 사용하기

[Python] Django reverser(), reverser_lazy() 사용하기

Difference between reverse() and reverse_lazy() in Django

I understand that we can use reverse() in FBV and reverse_lazy() in CBV. I understand that we have to use reverse_lazy() in CBV as the urls are not loaded when the file is imported (Ref: Reverse_la...

stackoverflow.com

from http://insubkim.tistory.com/159 by ccl(A) rewrite - 2021-12-16 13:00:51