-
[Python] Django reverser(), reverser_lazy() 사용하기Python/Django 2021. 12. 16. 12:52
https://stackoverflow.com/questions/48669514/difference-between-reverse-and-reverse-lazy-in-django
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
'Python > Django' 카테고리의 다른 글
[Python] Django 비밀번호 암호화해서 저장하기 set_password (0) 2021.12.16 [Python] Django FormView 와 View를 상속받아 로그인 로그아웃 구현하기 (0) 2021.12.16 [Python] CSRF token (0) 2021.12.16 [Python] query를 list로 받아보자 request.GET.getlist() (0) 2021.12.15 [Python] Autocomplete for both Django-template and HTML (0) 2021.12.15