[Django]-Django reverse causes circular import

49👍

Use reverse_lazy() instead of reverse().

👤knbk

6👍

I got same error and solved but only reverse_lazy() is not enough, use reverse_lazy() like reverse_lazy('app_name:url_name').

Leave a comment